developer.uber.com/404 and developer.uber.com/docs/404 are susceptible to iframes
The 404 error pages on developer.uber.com and developer.uber.com/docs/404 could be embedded in an iframe by other sites. An attacker could frame the docs login page, though the reporter notes keylogging would require clever trickery.
Originally disclosed on HackerOne
- Disclosed after 2 months
#Issue You can iframe the error pages for https://developer.uber.com/404 and https://developer.uber.com/docs/404
#Proof of concept An example can be found here http://codepen.io/JacobReynolds/pen/VaMbde?editors=1010
#Impact There is not a large security impact from a cursory glance at the 404 pages. The docs page has a ReadMe.io login that is accessible in the iframe, but without some pretty clever trickery it would be hard to keylog a user's login info from there.
You are able to redirect in the iframe from /docs/404 to /404 but that is as much movement as you can get within the domains.
#Possible Fixes Adding the X-Frame-Options:SAMEORIGIN header to the response for both of these pages would be the solution.
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
Root cause
Likely the responses for these error pages lacked an X-Frame-Options header, so browsers allowed them to be framed.
Impact
The reporter judged the security impact to be small, noting that keylogging the docs login would need clever trickery and that movement inside the iframe was limited.
What the attacker needed
Victim visits attacker page; attacker can embed the 404 page
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.
An iframe lets one website display another site inside a small window. If a site does not stop this, an attacker can put a sensitive page, such as a login form, inside their own page and try to trick users. Here the reporter found that two error pages could be framed, but saw little practical harm.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.