Skip to content
UI spoofing Disclosed report Beginner

Content Spoofing/Text Injection - docs.nextcloud.org

The report claims that a URL path containing injected text is reflected in the server's error page, allowing an attacker to spoof content on the docs.nextcloud.org subdomain. The attacker could craft a link that displays arbitrary text to a victim.

ahsan Follow

Originally disclosed on HackerOne

  • Fixed in under an hour
  • Disclosed after under an hour

Issue:

Hey, I've found content spoofing also known as "Text Injection" in your sub-domain docs.nextcloud.org

URL:

Here is the malicious URL: https://docs.nextcloud.org/.htacessCONTENT%20SPOOFING%20BY%20AHSAN

Fix: Use custom 403 error page which doesn't contain user's text!

I hope you'll fix it soon!

Thanks, Ahsan Tahir

The original report as published on HackerOne, by ahsan. 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 web server reflects the requested path in its default error page without encoding or validating it.

Impact

An attacker could trick a user into visiting a crafted link that displays misleading text on the legitimate domain.

What the attacker needed

Victim clicks 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 shows an error page, it sometimes includes part of the web address you typed. If that part is not cleaned, an attacker can put their own message in the address, and the error page will display it as if it came from the site. This is called content spoofing because the attacker can make the site appear to say something it did not.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by ahsan

View all

24 more disclosed reports, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.