Error Page Text Injection #106350
An error page reflected attacker-controlled text from the URL path, allowing a crafted link to display a message directing users to an external site. The attacker could trick a victim into visiting a malicious domain via the injected text.
- Triaged in 28 hours
- Fixed in 34 days
- Paid in 35 days
- Disclosed after 58 days
Hello Team ,
####Description :
This report is similar to #106350 , 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.Attacker.com%20so%20go%20to%20the%20new%20one%20since%20this%20one after the Domain name , and it got fixed after that report with static 404 error page ,
but i got place where old fix is not getting apply , so i hope u will like to fix this too .
Please let me know if any more info needed !
Thank You Geekboy :)
Attachments

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 error page reflects the requested URL path without sanitising or encoding it, allowing text injection.
Impact
An attacker could trick users into visiting a malicious site by displaying a fake message on the trusted error page.
What the attacker needed
Victim clicks a crafted link
The fix
The error page should be fixed, for example by using a static page.
How it was found
- Craft a URL with a path containing a double-encoded slash followed by attacker text and a link.
- Visit the crafted URL on the target site.
- Observe the error page displaying 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 a website shows an error page, it sometimes copies part of the web address into the page. Here, the site copied text from the address without cleaning it, so an attacker could put a fake message on the error page telling people to go to another website. This is dangerous because users trust the site's own pages.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.