password reset token hijacking
Originally disclosed on Mozilla
- Fixed in 5 months
- Paid in 19 months
- Disclosed after 5 months
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>
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.