Skip to content
XSS Disclosed report Beginner

SSL-protected Reflected XSS in m.uber.com

A query parameter on m.uber.com was echoed back into the page without encoding, so a crafted link could run script in the site's origin. An attacker could use this to render fake pages on the trusted domain and try to capture credentials or payment details.

gregoryvperry Follow

Originally disclosed on HackerOne

Critical 10.0 View original
  • Disclosed after 16 days

Summary

m.uber.com is susceptible to reflected XSS

Security Impact

A malformed URL can be used to render arbitrary SSL-protected web pages from m.uber.com

Reproduction Steps

https://m.uber.com/?bjbxm%3c%2fscript%3e%3cscript%3ealert(1)%3c%2fscript%3exrii5=1

Specifics

From the rendered web page:

{"enabled":true,"sid":"bbc661585c424072","url":"www.cdn-net.com","cf":1022963},"queryParams":{"bjbxm</script><script>alert(1)</script>xrii5":"1"}

No further efforts were made to render a more believable webpage as the vulnerability and reflected code above is sufficient to trigger Chromium Browser's XSS _Auditor protections.

Impact

An attacker could render arbitrary SSL-protected web pages from m.uber.com, to capture user login credentials and passwords, credit card numbers and related payment information, etc.

The original report as published on HackerOne, by gregoryvperry. 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 render arbitrary SSL-protected pages on m.uber.com to try to capture login credentials, passwords and card details; the report notes Chromium's XSS Auditor reacted to the payload, so that browser's built-in filter was triggered.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Open the crafted m.uber.com URL containing the malicious query parameter.
  2. Observe that the parameter value is reflected into the rendered page as executable markup.

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.

Reflected cross-site scripting (XSS) means a value from the link you click is placed straight into the page as code instead of plain text. Here a parameter containing a script tag was written back into the page, so the browser ran it as if the site itself had sent it. Because the script runs under the real site's address, a victim could be shown a convincing fake login or payment page.

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 gregoryvperry

View all

9 more disclosed reports, 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.