Skip to content
XSS Write-up Beginner

UBER XSS by helpe of KNOXSS

An XSS vulnerability was found on a subdomain of Uber, likely via a parameter at an endpoint, allowing script execution in the context of the site. The attacker could potentially execute arbitrary JavaScript in a victim's browser.

Emad Shanab Follow

Published on medium.com

Bounty$500 View original

but i will do it to support the great man @brutelogic and his great tool @knoxssme

Emad Shanab, on medium.com

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 insufficient input sanitisation or output encoding on a parameter at the /health/ endpoint.

Impact

An attacker could execute JavaScript in the context of the subdomain, potentially affecting users who visit a crafted link, though the subdomain is not typically used in a web browser.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Find subdomains of uber.com using tools like Sublist3r and aquatone.
  2. Identify the subdomain payment-providers.uber.com.
  3. Brute-force directories and parameters with dirb to discover the /health/ endpoint.
  4. Run KNOXSS on the endpoint to detect an XSS vulnerability.

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.

Cross-site scripting (XSS) is a bug where a website lets an attacker sneak in their own JavaScript code, which then runs in other users' browsers. This can let the attacker steal data or act as the user. Here, a tool found such a flaw on an Uber subdomain.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Emad Shanab

View all

1 more disclosed report, best first.

More from Uber

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.