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.
Published on medium.com
but i will do it to support the great man @brutelogic and his great tool @knoxssme
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
- Find subdomains of uber.com using tools like Sublist3r and aquatone.
- Identify the subdomain payment-providers.uber.com.
- Brute-force directories and parameters with dirb to discover the /health/ endpoint.
- 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.