Skip to content
SSRF Write-up Intermediate

How I found XSS via SSRF vulnerability -Adesh Kolte

An outdated Jira instance exposed an SSRF flaw in an OAuth icon-uri servlet that fetched any URL supplied by the user. By pointing it at a page on the author's own server containing a script, the author got the fetched content rendered, turning the SSRF into reflected XSS.

Adesh Nandkishor kolte Follow

Published on web.archive.org

Bounty$750total stated by author View original

#### Adesh Kolte

Adesh Kolte, on web.archive.org

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the Jira OAuth icon-uri servlet fetched an arbitrary user-supplied URL and rendered the response without validating the destination or sanitising the content.

Impact

An attacker could make the vulnerable Jira instance fetch arbitrary URLs and execute script in the context of the affected site, potentially bypassing firewall or protection solutions.

What the attacker needed

Outdated Jira instance; victim visits crafted URL; attacker-hosted page with script

How it was found

  1. Find web apps using Jira integration via search.
  2. Visit the Jira OAuth icon-uri servlet with a consumerUri parameter pointing at an external site.
  3. Confirm the server fetches and returns the external page.
  4. Host a page containing a script on your own server.
  5. Supply that page's URL in the consumerUri parameter to trigger the script.

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 write-up has not been written yet. The Original tab links to the source.

The server had a feature that fetched a web address the user supplied and showed the result. Because it did not check where it was fetching from, an attacker could make it load their own page, and any script on that page ran in the victim's browser. This is a server-side request forgery (SSRF) chained into cross-site scripting (XSS).

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 Adesh Nandkishor kolte

View all

14 more disclosed reports, best first.

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.