Reflected XSS in owncloud.com
A reflected cross-site scripting flaw existed on the ownCloud website, triggered by a crafted URL containing a script payload in a query parameter. An attacker could send a victim a link that, when opened in Internet Explorer, would execute JavaScript in the context of the ownCloud domain.
- Triaged in under an hour
- Fixed in 2 hours
- Disclosed after 4 hours
xss does work only for inetrnet explorer, for all versions
how to reproduce? :
- to use internet explorer browser(i have test with ie11)
- go to page
https://owncloud.com/wp-123.php?action[][]=</form></div></script><script/%00%00v%00%00>document.location.href=location.hash.slice(1)</script>#javascript:alert(document.domain)
- will be alert box with name of domain
please look at my poc video in attachment
Attachments
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
What the attacker needed
Victim uses Internet Explorer; victim opens a crafted link
How it was found
- Open Internet Explorer (the reporter tested with IE11).
- Navigate to the crafted ownCloud URL containing the script payload in the query string.
- Observe the alert box showing the domain name.
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.
Cross-site scripting (XSS) is when a website takes something from the address bar and puts it into the page without cleaning it, so an attacker can make the page run their own JavaScript. Here the attacker only needed to trick someone into opening a specially crafted link in Internet Explorer, and the script would run as if it came from the ownCloud site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.