XSS vulnerability through malicious attachment names
Originally disclosed on Mozilla
- Fixed in 3 days
- Paid in 10 days
- Disclosed after 3 days
Steps to reproduce:
1. Create a draft review under https://bugzilla-dev.allizom.org/page.cgi?id=splinter.html&bug=1154241&attachment=8591766
2. Go to https://bugzilla-dev.allizom.org/page.cgi?id=splinter.html
You will see an alert message saying "xss". The issue is caused by this line:
https://github.com/mozilla/webtools-bmo-bugzilla/blob/1f1f0d3276bef3844e8d381ba8277585c671466e/extensions/Splinter/web/splinter.js#L2531
It will assign the name of the attachment to innerHTML without any escaping.
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 critical-severity XSS bug in Splinter. Mozilla made it public on 29 February 2016.
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.