Used email confirmation link reveals the email address which is tied to it
A used email confirmation link still displays the email address associated with its token instead of showing a generic error. An attacker who obtains a used confirmation link could learn the email address tied to it.
- Triaged in 7 days
- Fixed in 2 months
- Disclosed after 6 months
Summary:
If an attacker finds an used email confirmation link (the token is in URL) s/he will be able to see the email address which is tied to the confirmation link ID. The attack itself is pretty unlikely but the application should show the generic error message like The confirmation ID is invalid or something like that.
Steps To Reproduce:
- Register a new account to the service
- Confirm the email address
- Reuse the confirmation link (this can be done like 24 hours after confirmation has been done)
- See that the page shows the email address which is tied to the confirmation link
Note: The confirmation ID is part of URL so it can be leak in different ways.
Recommendation:
Once the confirmation link is used the application should reveal the generic error message like The confirmation ID is invalid
References:
Impact
The used email confirmation links reveals the email address which is tied to it
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 confirmation endpoint looks up and displays the associated email address even after the token has already been consumed, instead of rejecting used tokens with a generic error.
Impact
An attacker who obtains a used confirmation link could learn the email address associated with it; the report notes the attack is unlikely.
What the attacker needed
Attacker obtains a used confirmation link
The fix
The application should show a generic error such as an invalid confirmation ID once a link has been used.
How it was found
- Register a new account on the service.
- Confirm the email address using the link.
- Reuse the same confirmation link later.
- Observe that the page shows the email address tied to the link.
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 sign up, a service often emails you a link containing a long random code to prove the address is yours. This report says that if someone reuses that link after it has already been used, the page still shows which email address the code belongs to. That leaks a small piece of private information to anyone who gets hold of an old link.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.