Skip to content
Info disclosure Disclosed report Beginner

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.

muon4 Follow

Originally disclosed on HackerOne

Informational View original
  • 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

The original report as published on HackerOne, by muon4. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Register a new account on the service.
  2. Confirm the email address using the link.
  3. Reuse the same confirmation link later.
  4. 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.

More by muon4

View all

10 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.