HackerOne · Report #1128358
Used email confirmation link reveals the email address which is tied to it
Validstatus
21upvotes
22 Sept 2021disclosed
How it was found
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