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)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mgoodwin, Assigned: davedash)

References

()

Details

(Keywords: wsec-xss, Whiteboard: [infrasec:xss][ws:critical])

Attachments

(1 file)

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.
Assignee: nobody → dd
Target Milestone: --- → 1.0
Dave is in the process of writing an image postprocessing module, which I *think* should fix this.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Excellent, thanks.
Status: RESOLVED → VERIFIED
Group: mozilla-corporation-confidential
Component: mozillians.org → Phonebook
Product: Websites → Community Tools
QA Contact: mozillians-org → phonebook
Target Milestone: 1.0 → ---
Version: unspecified → other
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.

Attachment

General

Created:
Updated:
Size: