Skip to content
Disclosed report

Unique PERSONA_USER cookie per user on getpersonas.com

pwn.star.wannabe Follow

Originally disclosed on Mozilla

  • Fixed in 27 days
  • Paid in 2.9 years
  • Disclosed after 27 days
Text
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
Build Identifier: 

getpersonas.com websites uses 3 different cookies WT_FPC, wtspl and PERSONA_USER. 

However PERSONA_USER cookie is used for authentication of the user. This cookie is not random and every time a user logs on on the websites he has the same cookie. Moreover the cookie has username information in it : <login>+<MD5_salted_between_login_and_password>.

Doing few tests, i am sure that this cookie is a MD5 with user name and password parameter. 

It is insecure to NOT use a random cooke per user's session. Indeed,if a malicious user steals a user's cookie via a XSS attack, he will be able to log in with his account until he changes his password.

An attacker could also bruteforce an accounts cookie requesting the /profile page without entering any CAPTCHA.

I recommend using PHPSESSIONIDs.


Reproducible: Always

Steps to Reproduce:
1.Log in various times and look at PERSONA_USER cookie.
Actual Results:  
PERSONA_USER cookie is always the same for a user with a password.


This vulnerability increase Reflected/Stored XSS vulnerabilities. Indeed, it makes cookie like password of the user.

The original report as published on Mozilla's Bugzilla, by pwn.star.wannabe. 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 security bug in getpersonas.com. Mozilla made it public on 10 January 2011.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.