SMTP injection in browserid
Originally disclosed on Mozilla
- Fixed in 8 days
- Paid in 19 months
- Disclosed after 8 days
The password reset & email verification mechanisms in browserid.org are vulnerable to SMTP injection. This could probably be used to hijack accounts without user interaction by injecting the CC header into password reset emails.
To verify, go through the password reset stages until you get a request like
POST /wsapi/stage_user
email=youremailaddress&site=browserid.org&csrf=somecsrftoken
Then edit the 'site' value to site=browserid.org%0d%0aCc: anotheremailaddress%0a%0d
Then look at the headers of the recieved email and verify that the 'CC' header has been injected (but ignored by the mailer for some reason). If coaxing the mailer to actually CC messages to alternative email addresses isn't possible, another attack would be to inject HTML into the email body in an attempt to extract the secret token.
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 Server: Identity. Mozilla made it public on 11 April 2012.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.