Skip to content
Account takeover Disclosed report

password reset token hijacking

James Kettle Follow

Originally disclosed on Mozilla

  • Fixed in 5 months
  • Paid in 19 months
  • Disclosed after 5 months
Text
When a user requests a password reset AMO generates a url ending in a secret key, and emails it to them. The domain name part of this url can be overridden by the X-Forwarded-Host header. This could lead to the token being disclosed to arbitrary third party websites.

To reproduce, browse to
https://addons.mozilla.org/en-US/firefox/users/pwreset
Fill in your email address, click submit & intercept the request and insert:
X-Forwarded-Host: addons.moz1lla.org

then observe that you receive an email containing the following malicious link:

https://addons.moz1lla.org/users/pwreset/39rxq/<tokenremoved>

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 high-severity account takeover bug in Administration. Mozilla made it public on 24 August 2012.

About Account takeover

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

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

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

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

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.