Skip to content
SSRF Disclosed report Intermediate

Blind SSRF in emblem editor (2)

The emblem editor allowed absolute URLs in the fill attribute of SVG paths, causing the server to make HTTP requests to attacker-controlled destinations. An attacker could use this to perform blind SSRF and potentially retrieve image files from the server or other places.

alexbirsan Follow

Originally disclosed on HackerOne

Bounty$1,500incl. $500 bonus Medium View original
  • Triaged in 18 hours
  • Fixed in 28 days
  • Paid in 28 days
  • Disclosed after 58 days

Summary by the researcher

Aug 31 - Found a blind SSRF Sep 1 - Found a way to escalate - retrieving image files from the server or other places Sep 28 - Problem fixed, $1,250 bounty! Sep 29 - Found a bypass for the fix just before disclosure Oct 13 - Bypass is fixed too Oct 18 - $250 bonus for the bypass!

Most importantly, I got a cool emblem:

The report

Hello,

As per your recommendation in #233301, I'm submitting a PoC for another blind SSRF in the emblem editor.

To oversight here is allowing absolute url() values for the fill attribute:

<path fill="url(https://requestb.in/15rxmgv1#test)" stroke="#a1a1a1" ...

Upon publishing an emblem containing such an element, a HTTP request to the given URL is sent from a Rockstar server. (███). The destination port can be easily modified. This doesn't seem to work without including a fragment in the URL (#test in the example above).

Further testing showed that, if a valid SVG is found at the given URL, the fill data is actually used in the final image. Fortunately, ████████ doesn't seem to support scripts, although the possibility of finding another way to exfiltrate data doesn't seem that out of reach.

I've attached the full body of the emblem I've used to confirm this bug for ease of reproduction.

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

An attacker could cause the server to make requests to arbitrary destinations, potentially retrieving image files from the server or other places, though script execution was not supported.

What the attacker needed

Access to emblem editor; ability to publish emblems

The fix

The issue was fixed, and a bypass found afterwards was also fixed.

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.

The emblem editor lets users set SVG fill values. The server that processes emblems was tricked into fetching web addresses chosen by the user, which is called server-side request forgery (SSRF). This could let an attacker make the server contact internal systems or fetch files it should not.

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.