stats.nextcloud.com: Content Injection
A subdomain reflected attacker-controlled text from the URL path into the page, allowing content injection; a crafted link could display misleading text and a link to an attacker site.
Originally disclosed on HackerOne
- Fixed in under an hour
- Disclosed after 30 days
Hello Team,
Found Same issue on Your Another Subdomain ,
Content injection :
Though It is Not in a scope but Want to Make you aware of it :)
Thanks!
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 application reflected the URL path into the page without encoding or validating it.
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.
Content injection means a website takes part of the address you type and puts it directly onto the page without cleaning it. Here, the page showed text supplied in the URL, including a link to another site. A victim who opens the crafted link sees the attacker's message on the real domain, which can be used to trick them into visiting a malicious site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.