Skip to content
XSS Disclosed report Beginner

Content injection on 404 error page at faspex.uber.com

The 404 error page reflected part of the requested URL path, allowing an attacker to inject arbitrary text into the page. This could be used to spoof content and facilitate phishing.

ak1t4 Follow

Originally disclosed on HackerOne

  • Disclosed after 12 days

INTRO:

i want to report a text injection and a missconfiguration of the 404 page which can be used in phishing at faspex.uber.com

EXPLOITABILITY:

PoC link : https://faspex.uber.com/faspex.uber.com/%2f../It%20has%20been%20changed%20by%20a%20new%20one%20http://www.evil.com%20so%20go%20to%20the%20new%20one%20since%20this%20one

IMPACT:

The issue can be used for an attacker to spoof content and phishing purposes

FIX:

Use a Predefined 404 page will fix the issue,

Please let me know if any more info needed,

Best Regards,

@ak1t4

Attachments

Captura_de_pantalla_2016-07-31_a_las_18.29.48.png
Captura_de_pantalla_2016-07-31_a_las_18.29.48.png From the original on HackerOne

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

Root cause

Likely the 404 page reflected the requested URL path without sanitising or encoding it.

Impact

An attacker could spoof content on the error page and use it for phishing.

What the attacker needed

Victim clicks a crafted link

The fix

The 404 page should use a predefined, static error page instead of reflecting user input.

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.

When a website cannot find a page, it shows a 404 error. Here, the site copied part of the web address the visitor typed into the error message without cleaning it. An attacker could craft a link that makes the error page display a fake message, tricking people into visiting a malicious site.

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 ak1t4

View all

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