Persistent (stored) XSS in profile allowing client side code to be executed via private Messages.
- Fixed in 5 days
- Paid in 16 months
- Disclosed after 5 days
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11
Steps to reproduce:
After creating an account and going to the profile editor (https://support.mozilla.org/en-US/users/edit) I changed "Display name:" to:
"/><script>alert(document.cookie);</script>
I then tried to send a private message (https://support.mozilla.org/en-US/message/new) to this account, the client side code was be executed.
Actual results:
An alert box was created showing cookie information. This persistent XSS could be used to steal sessions from other users when they attempt to private message me without any user interaction.
Proof of concept:
(using Firefox) In the "To" box (found here: https://support.mozilla.org/en-US/message/new) if you type my account name "testaudit" (without the quotes) you will see an alert box with your cookie information displayed.
Expected results:
Username should appear in TO box allowing private message to be sent.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A critical-severity XSS bug in General. Mozilla made it public on 16 July 2012.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.