Closed
Bug 689665
Opened 15 years ago
Closed 15 years ago
Mozillians is vulnerable to XSS via uploaded images (IE 6 and 7 only)
Categories
(Participation Infrastructure :: Phonebook, defect, P1)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mgoodwin, Assigned: davedash)
References
()
Details
(Keywords: wsec-xss, Whiteboard: [infrasec:xss][ws:critical])
Attachments
(1 file)
|
19.63 KB,
image/jpeg
|
Details |
Issue:
An XSS condition an be created in mozillians for users of older IE browsers by uploading valid images containing HTML and script fragments (due to IE's content sniffing behaviour).
Steps to reproduce:
1) create / obtain a malicious JPG for attachment
2 [review]) log into mozillians
3) click on profile
4) click on edit profile
5) select malicious JPG for 'profile photo' and 'update'
6) browse to the location of the user's profile pic (e.g. https://mozillians.allizom.org/en-US/user/photo/<user_id>)
7) observe javascript alert in IE 6/7
Recommended remediation:
Validate and re-encode any user supplied images (e.g. using PIL) to ensure the image is valid and free of any extraneous information.
| Reporter | ||
Comment 1•15 years ago
|
||
Updated•15 years ago
|
Assignee: nobody → dd
Target Milestone: --- → 1.0
Comment 2•15 years ago
|
||
Dave is in the process of writing an image postprocessing module, which I *think* should fix this.
| Assignee | ||
Comment 3•15 years ago
|
||
| Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Group: mozilla-corporation-confidential
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Target Milestone: 1.0 → ---
Version: unspecified → other
Comment 5•13 years ago
|
||
Adding keywords to bugs for metrics, no action required. Sorry about bugmail spam.
Keywords: wsec-xss
You need to log in
before you can comment on or make changes to this bug.
Description
•