Skip to content
Disclosed report

SMTP injection in browserid

James Kettle Follow

Originally disclosed on Mozilla

  • Fixed in 8 days
  • Paid in 19 months
  • Disclosed after 8 days
Text
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.

The original report as published on Mozilla's Bugzilla, by Jаmes Kettle. 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 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.

More by James Kettle

View all

14 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.