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)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mcoates, Assigned: jbalogh)
References
(
URL
)
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.
| Reporter | ||
Updated•16 years ago
|
URL: https://addons.mozilla.org/en-US/fire...
| Reporter | ||
Comment 1•16 years ago
|
||
Copying in security researcher who reported bug - etusha@inbox.com
Comment 2•16 years ago
|
||
How old is this code? Why didn't Sentinel catch it? Are we not running Sentinel scans immediately after any code upgrade?
| Assignee | ||
Comment 3•16 years ago
|
||
This is a bug in remora that has been around for a long time, so don't feel bad about zamboni.
| Assignee | ||
Comment 4•16 years ago
|
||
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
Comment 5•16 years ago
|
||
Verified FIXED on both prod and preview: https://preview.addons.mozilla.org/en-US/firefox/addon/777/%22/%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E
Status: RESOLVED → VERIFIED
Comment 6•16 years ago
|
||
i Confirm this bug is fixed :)
Comment 7•16 years ago
|
||
(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 :-)
Comment 9•13 years ago
|
||
Adding keywords to bugs for metrics, no action required. Sorry about bugmail spam.
Keywords: wsec-xss
Updated•13 years ago
|
Flags: sec-bounty+
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
Updated•9 years ago
|
Group: client-services-security
Updated•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•