Skip to content
Misconfiguration Disclosed report Beginner

Error Page Text Injection (no compromise)

The 404 error page reflected user-supplied text from the URL path, allowing an attacker to inject arbitrary content into the page. The program states that Google's standard 404 page sanitises inputs, so no compromise was possible.

theendisnear Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after 51 days

Summary by the program

The text injection is reflected back using Google's standard 404 page. That sanitizes inputs, such that no compromise Is possible.

The report

Hi team!

I want to report a context spoofing or text injection at http://hack.whocoronavirus.org/ 404 page

Vulnerability Description : The http://hack.whocoronavirus.org/ scope allows users to inject any content on the 404 not found webpage

Vulnerable Location :

http://hack.whocoronavirus.org/TextInjection

Fix 404 error page to a new page which do not allow text content injection

Please let me know if more info needed,

Reference Report : https://hackerone.com/reports/181594

Best Regards, @jaimaakali

Impact

Text injection

Attachments

C0651A17-5352-42CD-AF94-DB5A6BA6D7B4.png
C0651A17-5352-42CD-AF94-DB5A6BA6D7B4.png From the original on HackerOne

The original report as published on HackerOne, by theendisnear. 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 echoed the requested path into the response without proper output encoding, though the program states the standard page sanitises it.

Impact

An attacker could make the 404 page display arbitrary text, but the program states the standard page sanitises inputs so no compromise was possible.

What the attacker needed

None

The fix

The 404 error page should be changed to one that does not allow text content injection.

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.

A 404 page is shown when a web address does not exist. Here, part of the address was copied into the page text, so someone could make the page say things it should not. The program says the page cleans the input, so nothing harmful could actually happen.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by theendisnear

View all

11 more disclosed reports, best first.

More from WHO COVID-19 Mobile App

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.