Attachment bounty form is vulnerable to CSRF and persistent XSS
Originally disclosed on Mozilla
- Fixed in 17 hours
- Paid in 7 days
- Disclosed after 17 hours
The creation of bounty attachments lacks CSRF protection. This means that somebody can lure people in the core-security group to a page containing the following code:
> <img src="https://bugzilla-dev.allizom.org/page.cgi?id=attachment_bounty_form.html&bug_id=1&reporter_email=[address removed]&amount_paid=&reported_date=&fixed_date=&awarded_date=&publish=1&credit_1=%22%3E%3Cscript%3ealert%28/xss/%29%3C/script%3E&submit=1">
Now I don't know whether manipulating these attachments can be used to get a bounty to be paid twice for the same issue (should I try? :). What they can definitely be used for however is persistent XSS - none of the fields on attachment_bounty_form.html are being escaped. So the link above will add XSS load to the page which will executes whenever somebody with sufficient privileges opens https://bugzilla-dev.allizom.org/page.cgi?id=attachment_bounty_form.html&bug_id=1.
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 CSRF bug in Extensions. Mozilla made it public on 1 March 2016.
About CSRF
Another site makes a signed-in user's browser perform an action they did not intend.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.