XSS in /events
Originally disclosed on Mozilla
- Fixed in 15 days
- Paid in 22 days
- Disclosed after 15 days
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.102 Safari/537.36
Steps to reproduce:
I was browsing reps.mozilla.org and decided to do a few tests. And found this:
https://reps.mozilla.org/api/v1/event/?offset=0&limit=0&start__gte=2014-02-02%3Cimg%20src=1%20onerror=alert%28document.domain%29%3E
It looks like the start__gte parameter is not filtered while being showed in the error message.
Browser: Firefox 26.0 on Windows 8.1
Actual results:
The alert box appeared; this means that we have the possibility to execute our own javascript in the name of other users.
Expected results:
The error message should have been filtered.
Thank you!
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A high-severity XSS bug in other.mozilla.org. Mozilla made it public on 17 February 2014.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.