Skip to content
XSS Disclosed report Beginner

apps.owncloud.com: Multiple reflected XSS by insecure URL generation (IE only)

The ownCloud appstore generated URLs without encoding GET parameters, so a crafted search URL containing script markup was reflected unescaped into the page. An attacker could run script in a victim's browser, but the text says this was only exploitable in Internet Explorer because other browsers encode the parameters.

Igor Sak-Sakovskiy Follow

Originally disclosed on HackerOne

  • Triaged in 3 hours
  • Fixed in 6 months
  • Disclosed after 7 months

Summary by the program

Due to a bug in the URL generation component mainly used by forms on the ownCloud appstore available at apps.owncloud.com is vulnerable to multiple reflected XSS. This problem seems only to be exploitable in Internet Explorer since other browsers are URL encoding GET parameters.

This was reproducible using something like: curl "https://apps.owncloud.com/content/search.php?PHPSESSID=\">XSSHERE<script>alert(1)</script>"|grep XSS

The output was then containing the unescaped malicious Javascript.

While the issue appears overall over the platform we have merged issues related to the same root cause into this one but would like to thank all reporters reporting this vulnerability. On request of some commenters this issue is only disclosed limitedly.

The original report as published on HackerOne, by psych0tr1a. 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 URL generation component inserted GET parameters into the page without HTML-encoding them.

Impact

Script could run in a victim's browser, but the text states this was only exploitable in Internet Explorer since other browsers URL-encode GET parameters.

What the attacker needed

Victim uses Internet Explorer; victim opens a crafted link

How it was found

  1. Send a request to the appstore search page with a crafted session parameter containing script markup.
  2. Check the returned page for the unescaped script.

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.

A reflected cross-site scripting (XSS) bug means a value you put in a link is echoed back into the page as live code instead of harmless text. Here the site built links from the search parameters without escaping them, so a link could carry a small script that runs in the visitor's browser. The report says only Internet Explorer was affected, because other browsers encode the characters first.

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 Igor Sak-Sakovskiy

View all

4 more disclosed reports, best first.

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.