HexBrain

Uber · Report #1005355

Unrestricted File Upload Results in Cross-Site Scripting Attacks

Validstatus
mediumseverity
58upvotes
14 May 2021disclosed

Summary

It was found that an attacker can upload any type of file including HTML files when adding a menu during the onboarding process after signing up at https://www.ubereats.com/restaurant/en-CA/signup.

The hacker identified a file upload endpoint used by restaurants applying for Uber Eats which was unrestricted, in the sense that HTML or SVG files could be uploaded. Due to the fact that the contents of the files uploaded were being displayed in-browser (Content-Disposition: inline) this led to stored cross-site scripting.

How it was found

The write-up for this report has not been downloaded yet, or the program disclosed it without one. Read it on HackerOne.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original