Text injection can be used in phishing 404 page and should not include attacker text
The 404 error page reflects attacker-controlled text from the requested URL path, allowing an attacker to display arbitrary messages. This could be used in phishing to make the page appear legitimate.
- Fixed in 43 hours
- Disclosed after 3 days
Hello i want to report a text injection and a missconfiguration of the 404 page which can be used in phishing
the bug exists at :
As you can see attacker text is included "It has been changed by a new one https://www.crowdcurity.com so go to the new one since this one was not found on this server."
Fix : just use a 404 page that don't include attacker text just as : hackerone do (a 404 page that don't include any external text
Hope you fix it
Thanks, Kanwar
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 404 page reflects the requested URL path without sanitisation.
Impact
An attacker could use the reflected text to make the 404 page display a phishing message.
What the attacker needed
Victim clicks a crafted link
The fix
The 404 page should not include any attacker-controlled text from the request.
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 web server cannot find a page, it shows a 404 error. Here, the server copied part of the web address the visitor typed into the error message. An attacker could craft a link that makes the error page show a fake message, tricking people into visiting another site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.