Closed Bug 593406 Opened 16 years ago Closed 16 years ago

Reflected XSS in Share-This Code of AMO

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mcoates, Assigned: jbalogh)

References

()

Details

(Keywords: reporter-external, sec-high, wsec-xss)

This issue was reported by Ervis Tusha to security@mozilla.org Issue The addons.mozilla.org site contains a reflected XSS issue within the share-this potion of the site. The following POC demonstrates the flaw: https://addons.mozilla.org/en-US/firefox/addon/777/"/><script>alert(document.cookie)</script> The vulnerable code appears to be the "share-this" code which is inserting the URL contents into HTML without HTML entity encoding. Recommended Remediation: Use html entity output encoding to safely insert the URL contents into the page.
URL: https://addons.mozilla.org/en-US/fire...
Copying in security researcher who reported bug - etusha@inbox.com
How old is this code? Why didn't Sentinel catch it? Are we not running Sentinel scans immediately after any code upgrade?
This is a bug in remora that has been around for a long time, so don't feel bad about zamboni.
I fixed remora in r73824, but we fixed this in prod with bug 593409 by letting zamboni take over the offending url.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
i Confirm this bug is fixed :)
(In reply to comment #6) > i Confirm this bug is fixed :) Ervis: thanks so much for filing this; feel free to continue helping us test for and ensure security :-)
Adding keywords to bugs for metrics, no action required. Sorry about bugmail spam.
Keywords: wsec-xss
Flags: sec-bounty+
Product: addons.mozilla.org → addons.mozilla.org Graveyard
Group: client-services-security
You need to log in before you can comment on or make changes to this bug.