Skip to content
SSRF Disclosed report Intermediate

SMB SSRF in emblem editor exposes taketwo domain credentials, may lead to RCE

The researcher found that the emblem editor accepted crafted SVG files which ImageMagick processed, causing it to make SMB requests to attacker-controlled UNC paths. This leaked the server's login credentials and NTLMv2 hash, which could be cracked offline or used in an SMB relay attack.

alexbirsan Follow

Originally disclosed on HackerOne

Bounty$1,500 High View original
  • Triaged in 28 hours
  • Fixed in 26 days
  • Paid in 13 days
  • Disclosed after 2 months

Summary by the program

In this report, the researcher found that by submitting crafted SVG files, he was able to establish a listener on our server that enabled SSRF attacks. This potentially could have been pivoted to carry out more damaging attacks as well. We improved our validation of user-submitted SVG files to prevent this from happening in the future.

Summary by the researcher

I found that Imagemagick would happily send the users' login and NTLMv2 hash to remote attackers when processing UNC paths. This could be leveraged to crack the server password offline or potentially in an SMB relay attack.

Thanks to Dirk Lemstra for fixing this in Imagemagick too! https://github.com/ImageMagick/librsvg/commit/f9d69eadd2b16b00d1a1f9f286122123f8e547dd

The original report as published on HackerOne, by alexbirsan. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

The server's credentials and NTLMv2 hash could be captured, allowing offline password cracking or an SMB relay attack, and the researcher notes this could potentially be pivoted to more damaging attacks.

What the attacker needed

Ability to upload an SVG to the emblem editor

The fix

The site improved validation of user-submitted SVG files, and the underlying ImageMagick issue was also fixed upstream.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

An SVG is an image format that can contain instructions. The researcher made an SVG that told ImageMagick to connect to a server he controlled, and during that connection the server sent its Windows username and an NTLM hash. That hash can be attacked offline or relayed to impersonate the server.

What is SSRF?

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.

More by alexbirsan

View all

11 more disclosed reports, best first.

More from Rockstar Games

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.