Skip to content
XSS Disclosed report Beginner

Stored self-XSS at m.uber.com

skavans Follow

Originally disclosed on HackerOne

  • Triaged in 9 days
  • Fixed in 46 days
  • Disclosed after 2 months

There is a stored self-XSS vulnerability at m.uber.com in displaying the uber invite code. If the user sets the invite code at <script>alert(document.domain)</script> value using the main personal area at the uber.com and then signs into the m.uber.com the XSS is fired.

Possible other user exploitation case can be the following: The attacker sends messages to everyone with text:

I have worked at Uber and I know the secret invite code using by employees 
so invite friends using it gets you a $10000 discount for every invited friend. 
Set your invite code to this value:
EMPLOYEE_2016_04_oidkjnfkerjnoidkjnfkerjnoidkjnfkerjnoidkjnfkerjnoidkjnfkerjn<script>eval(atob('YWxlcnQoZG9jdW1lbnQuZG9tYWluKQ=='))</script>oidkjnfkerjnoidkjnfkerjnoidkjnfkerjnoidkjnfkerjnoidkjnfkerjn

The unlimited invite code length makes easier to hide a payload inside it. So user will set his invite code to this value and next time he will visit the m.uber.com the XSS will fire.

Attachments

______________2016-04-24___1.19.52.png
______________2016-04-24___1.19.52.png From the original on HackerOne

The original report as published on HackerOne, by skavans. 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.

What is known

A XSS bug in Uber. HackerOne made it public on 8 July 2016.

About XSS

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

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

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 skavans

View all

8 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.