Skip to content
XSS Disclosed report Beginner

Content spoofing due to the improper behavior of the not-found message

The site's not-found page reflected attacker-supplied text, so a crafted URL could display misleading content. An attacker could use this to trick a visitor into visiting another site or taking an action of the attacker's choosing.

malcolmx Follow

Originally disclosed on HackerOne

  • Fixed in 60 days
  • Disclosed after 60 days

Summary by the program

The researcher detected a low level issue. Due to the approach of the researcher we decided to disclose it publicly.

The issue detected in https://www.secnews.gr , It's possible to inject text in the not-found message in order to trick the user to make him visit another website or do something an attacker might be interested in POC:https://goo.gl/Cuj53g : The link is shortened .

Summary by the researcher

Even the issue is out of scope But @secnewsgr deiced to accept it due to the good approach had on that issue.

The original report as published on HackerOne, by malcolmx. 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 not-found page echoed user-controlled input from the request into the error message without sanitising or encoding it.

Impact

A crafted link could make the site display attacker-chosen text, which could mislead a visitor into visiting another website or performing an action; the text does not show script execution.

What the attacker needed

Victim opens a crafted 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 cannot find a page, it shows an error message. Here that message included text taken from the address the visitor typed, so an attacker could put their own words in it. The visitor would see the attacker's message on the real site and might trust it.

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 malcolmx

View all

11 more disclosed reports, best first.

More from SecNews

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.