Skip to content
XSS Disclosed report Beginner

Error page Text Injection.

The 404 error page reflected part of the requested URL path as text, allowing an attacker to inject arbitrary wording and a link to a malicious site. This could be used in phishing to trick users into visiting the attacker's site.

akshay_raj Follow

Originally disclosed on HackerOne

  • Disclosed after 22 days

AS we can see in report an user or attacker is able to inject his text into error page and can trap to user to visit other site by adding following link /test/%2f../It%20has%20been%20changed%20by%20a%20new%20one%20https://www.malicious.com%20so%20go%20to%20the%20new%20one%20since%20this%20one

A text injection and a missconfiguration of the 404 page which can be used in phishing.

POC URL: blog.trello.com/test/%2f../It%20has%20been%20changed%20by%20a%20new%20one%20https:

URl:-https://www.phacility.com//test/%2f../It%20has%20been%20changed%20by%20a%20new%20one%20https://www.malicious.com%20so%20go%20to%20the%20new%20one%20since%20this%20one

Attachments

error.png
error.png From the original on HackerOne

The original report as published on HackerOne, by akshay_raj. 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 application reflected the URL path into the 404 error page without encoding or validation, allowing text injection.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Craft a URL containing encoded path traversal and injected text with a link to a malicious site.
  2. Visit the crafted URL on the target site.
  3. Observe that the error page displays the injected text and link.

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 you visit a web address that does not exist, the site shows an error page. Here, the site copied part of the address you typed into the error message without cleaning it. An attacker could craft a special address that makes the error page show a fake message and a link to a bad site, which is a form of phishing.

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 akshay_raj

View all

2 more disclosed reports, best first.

More from Phabricator

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.