Closed
Bug 1067996
Opened 11 years ago
Closed 11 years ago
Reflected XSS in mxr.mozilla.org
Categories
(Webtools Graveyard :: MXR, defect)
Webtools Graveyard
MXR
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 949514
People
(Reporter: danhmcinerney, Unassigned)
Details
(Keywords: reporter-external, sec-high, wsec-xss)
Attachments
(1 file)
|
83.76 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36
Steps to reproduce:
1. With Firefox, go to http://mxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/prtime.h/%3Csvg%20onload=prompt%284%29%3E
2. Notice JS pop up.
Just tack on a '/' + XSS payload to the end of the URL for many of these http://mxr.mozilla.org/mozilla-central/source/browser/devtools/... domains and you'll get XSS'ed.
Some more examples: http://mxr.mozilla.org/mozilla-central/source/browser/devtools/tilt/TiltWorkerPicker.js/%3Csvg%20onload=prompt%284%29%3E
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/toolbar/%3Csvg%20onload=prompt%284%29%3E
Actual results:
A javascript pop up appeared after entering the payloaded URL.
Expected results:
The input should've been filtered.
| Reporter | ||
Updated•11 years ago
|
Component: Security Assurance: Applications → Security Assurance
Comment 1•11 years ago
|
||
I could reproduce the XSS.
Comment 3•11 years ago
|
||
Didn't we recently (try to) fix a similar XSS issue? :-\
No, code changes don't go to me, I just manage the deploys. I think :dkl got the last code change, but check with :mcote for his availability or alternative.
Comment 4•11 years ago
|
||
Aha, Bug 949514. Same thing?
Comment 5•11 years ago
|
||
My bad. I was surprised I didn't find a duplicate. Maybe I should have looked harder.
Thanks fubar!
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: sec-bounty? → sec-bounty-
Resolution: --- → DUPLICATE
Comment 6•11 years ago
|
||
Sorry for the confusion, Dan!
You have been copied into the existing bug <https://bugzilla.mozilla.org/show_bug.cgi?id=949514>, which was already discussed and resolved earlier.
Updated•11 years ago
|
Group: webtools-security
Updated•6 years ago
|
Product: Webtools → Webtools Graveyard
Updated•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•