Skip to content
XSS Disclosed report Beginner

owncloud.help: Text Injection

A 404 error page reflected attacker-controlled text from the requested URL path back into the response body. An attacker could craft a link whose path contains misleading text, which the site then displays, enabling phishing.

geekh Follow

Originally disclosed on HackerOne

  • Triaged in under an hour
  • Fixed in under an hour
  • Disclosed after 15 hours

Hello i want to report a text injection and a missconfiguration of the 404 page which can be used in phishing Text injection can be used in phishing 404 page should not include attacker text

The bug exists at :

https://owncloud.help/test/%2f../It%20has%20been%20changed%20by%20a%20new%20one%20https://www.crowdcurity.com%20so%20go%20to%20the%20new%20one%20since%20this%20one

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.com,bugcrowd.com do (a 404 page that don't include any externel text hope you fix it

Thanks

The original report as published on HackerOne, by geekh. 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 handler echoes the requested path back into the error page without escaping or filtering it.

Impact

An attacker could use the reflected text in a phishing link to mislead visitors, though the report does not demonstrate any script execution.

What the attacker needed

Victim clicks a crafted link

The fix

The 404 page should be changed so it does not include any attacker-supplied 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 website cannot find a page, it shows a '404 not found' message. Here, the site copied part of the web address the visitor typed into that message. Because anyone can put anything in a web address, an attacker could make the page display their own words, such as a fake instruction to visit another site, to trick people.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from ownCloud

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.