Closed
Bug 619267
Opened 15 years ago
Closed 15 years ago
Persistent XSS in Breadcrumbs from Display Name Field
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
VERIFIED
FIXED
5.12.5
People
(Reporter: seantmalone, Assigned: jbalogh)
References
()
Details
(Keywords: reporter-external, wsec-xss, Whiteboard: [infrasec:xss][ws:critical])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
Build Identifier: All
The user Display Name field is not properly escaped in the breadcrumb area of the user profile viewer. This allows a logged-in user to enter JavaScript into their Display Name field and have it executed every time someone views their profile.
Reproducible: Always
Steps to Reproduce:
1. Go to https://addons.mozilla.org/en-US/firefox/users/edit#user-profile as a logged-in user
2. Enter script tags in the Display Name field, for example, <script>alert('xss')</script>
3. Save profile by clicking on the "Update" button
4. Go to https://addons.mozilla.org/en-US/firefox/user/[your_user_id]/
Actual Results:
Alert dialog pops up and displays "xss"
Expected Results:
All special characters should be escaped, and no alert dialog should appear.
Updated•15 years ago
|
Assignee: nobody → jbalogh
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → 5.12.5
except i reported my bug after the 15th - when the new policy was in ;)
kind of feel annoyed. robbed twice!
| Assignee | ||
Comment 6•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
Same XSS at the collections module:
https://addons.mozilla.org/de/firefox/collections/totallyunknown/script-alert-xss-script/
| Reporter | ||
Comment 9•15 years ago
|
||
FYI, in case it changes the priority of pushing the fix:
dave b leaked this to Full Disclosure, see http://seclists.org/fulldisclosure/2010/Dec/356
Comment 10•15 years ago
|
||
Yeah I did that - Also ^ ^ I need more sleep. (also do ignore my last post in this bug report - i can't edit it post posting :().
imho it took no time to find and was totally obvious, the fact that there are like 5 duplicated bug reports about this shows how stupid this bug was / how easy it was to find.
Comment 14•15 years ago
|
||
Sean, this bug must be fixed by now. Can you take a look,please?
| Reporter | ||
Comment 15•15 years ago
|
||
I've verified that this is fixed at https://addons.mozilla.org/en-US/firefox/user/5578414/.
Thanks for the quick action on this, everyone.
Status: RESOLVED → VERIFIED
Comment 16•15 years ago
|
||
Jeff, Can you add a link to the code change for this fix?
Status: VERIFIED → RESOLVED
Closed: 15 years ago → 15 years ago
| Assignee | ||
Comment 17•15 years ago
|
||
(In reply to comment #16)
> Jeff, Can you add a link to the code change for this fix?
From comment 6: http://github.com/jbalogh/zamboni/commit/a63121f
Someone not as familiar with the code found a function that did what they wanted and didn't think to look at the security implications (bug 567925). I just had to change the import to get the function intended for use in templates.
Updated•15 years ago
|
Whiteboard: [infrasec:xss][ws:critical]
Comment 18•15 years ago
|
||
(In reply to comment #17)
> (In reply to comment #16)
> > Jeff, Can you add a link to the code change for this fix?
>
> From comment 6: http://github.com/jbalogh/zamboni/commit/a63121f
>
> Someone not as familiar with the code found a function that did what they
> wanted and didn't think to look at the security implications (bug 567925). I
> just had to change the import to get the function intended for use in
> templates.
Verified that the new truncate import doesn't parse the input as HTML
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Group: client-services-security
Comment 21•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•2 years ago
|
Keywords: reporter-external
You need to log in
before you can comment on or make changes to this bug.
Description
•