Skip to content
XSS Disclosed report

Persistent (stored) XSS in profile allowing client side code to be executed via private Messages.

cocking70 Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 5 days
  • Paid in 16 months
  • Disclosed after 5 days
Text
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.

The original report as published on Mozilla's Bugzilla, by cocking70. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.