Closed
Bug 1247063
Opened 10 years ago
Closed 10 years ago
XSS at https://addons.mozilla.org (MOBILE VERSION)
Categories
(addons.mozilla.org Graveyard :: Administration, defect)
addons.mozilla.org Graveyard
Administration
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: p4r3sh.p4rm4r, Assigned: muffinresearch)
Details
(Keywords: reporter-external, sec-high, wsec-xss)
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36
Steps to reproduce:
Hi,
Steps to Reproduce:
1. go here https://addons.mozilla.org/en-US/seamonkey/addon/mailbox-alert/reviews/ (use any browser)
2. now in review title
type anything and in review
use this payload
<img src=x onerror=alert(document.domain)>
3. click on submit review
now visit this review link in mobile browser:
https://addons.mozilla.org/en-US/seamonkey/addon/mailbox-alert/reviews/
xss will triaged.
HERE'S video proof of concept (private video) : https://www.youtube.com/watch?v=L2BbPr7qTw8&feature=youtu.be
Thanks
Actual results:
in Mobile Version of https://addons.mozilla.org/en-US/seamonkey/addon/mailbox-alert/reviews/ You must use the escape syntax for the part of the HTML document you're putting untrusted data into.
Expected results:
Im using this UA string
Mozilla/5.0 (Android 4.4; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
Updated•10 years ago
|
Component: General → Administration
Product: Marketplace → addons.mozilla.org
Comment 1•10 years ago
|
||
Confirmed. This only triggers on the mobile version. Andy: could you please assign someone to fix it asap? It's a bad one.
Assignee: nobody → amckay
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: sec-bounty?
Flags: needinfo?(amckay)
Keywords: sec-high
Updated•10 years ago
|
Flags: needinfo?(amckay)
Updated•10 years ago
|
Assignee: amckay → scolville
| Assignee | ||
Comment 2•10 years ago
|
||
| Assignee | ||
Comment 3•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Commit Looks Good!!
and this xss and domain in scope https://www.mozilla.org/en-US/security/bug-bounty/faq-webapp/ so it is eligible for Reward ?
| Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Paresh from comment #6)
> Its not fixed yet!! XSS is still working.
Using the STR from this bug I can't reproduce in production (having just tested today). I wonder if for some reason you're getting stale JS?
This is the URL for the mobile-min.js that I see: https://addons.cdn.mozilla.net/static/js/zamboni/mobile-min.js?build=9e68f53-56b0e493
Grabbing the the content and running it through prettify I see the expected line is wrapped with the escape function.
E.g this line:
for (var a = 0; a < i.length; a++) { r += e(i[a]) } } else { r = _.escape(t.textContent) }
Can you check the JS you're seeing for the same?
Flags: needinfo?(p4r3sh.p4rm4r)
Hi,
Ive tested now , its fixed in ALL LATEST MAJOR BROWSERS/
but im able reproduce this bug in UC MINI BROWSER (ANDROID 4.4), and also working with this user agent String: Mozilla/5.0 (Android 4.4; Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
can you test with this user agent string in Firefox?
Flags: needinfo?(p4r3sh.p4rm4r)
| Assignee | ||
Comment 9•10 years ago
|
||
I don't think the fix will be UA specific. If it's still reproducing for specific UAs you're probably running old JS for some reason. Can you try clearing the cache on those User-agents and re-test?
| Reporter | ||
Comment 10•10 years ago
|
||
yes, checked it! problem was old js CACHE / Its cleared now/
this is is fixed!
Thanks
PARESH
Updated•10 years ago
|
Flags: needinfo?(jclaudius)
Comment 11•10 years ago
|
||
I had thought this might be a duplicate of something I worked on recently (Bug #1247642), but after review it appears it is a different issue, but a similar pattern.
Flags: needinfo?(jclaudius)
Updated•10 years ago
|
Flags: sec-bounty? → sec-bounty+
Updated•10 years ago
|
Group: client-services-security
| Reporter | ||
Comment 12•10 years ago
|
||
can i write blog about this issue ?
Comment 13•10 years ago
|
||
Paresh - The bug is public, so their shouldn't be an issue with you blogging about it. Good find!
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org 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
•