Skip to content
Info disclosure Disclosed report Beginner

PII Exposure via Email Confirmation Link – Email Embedded in Token & Leaked via Wayback Machine

The email confirmation link on the Omise dashboard embeds the user's email address inside a Base64-encoded token in the URL. Because such URLs were archived by the Wayback Machine, the email addresses became publicly visible to anyone browsing the archive.

mantu1738 Follow

Originally disclosed on HackerOne

Medium 6.1 View original
  • Fixed in 7 days
  • Disclosed after 2 months

An email confirmation link used by Omise (dashboard.omise.co) includes the user's email address directly embedded in a token that is visible in the URL. This token has been archived publicly by the Wayback Machine (archive.org), resulting in public exposure of personally identifiable information (PII).

Steps To Reproduce:

  1. Visit an archived page on Wayback Machine containing a confirmation URL:
https://dashboard.omise.co/users/confirm_email/BAhbCGkD5+gCVTogQWN0aXZlU3VwcG9ydDo6VGltZVdpdGhab25lWwhJdToJVGltZQ1qVh%2FA51yK3Ak6DW5hbm9fbnVtaQH7Og1uYW5vX2RlbmkGOg1zdWJtaWNybyIHJRA6CXpvbmVJIghVVEMGOgZFRkkiCFVUQwY7C1RJdTsGDWpWH8DnXIrcCTsHaQH7OwhpBjsJIgclEDsKQAlJIiFtYW50dWhhY2tlcm9uZTE3MzhAZ21haWwuY29tBjsLVA==--5d75e1da7fbede4b6285f61f758e5dbed8d62604
  ```
2. Extract the token from the URL. Base64-decode it:

import base64 from urllib.parse import unquote import re

token = "<Base64_part>" decoded_token = base64.b64decode(unquote(token)) print(re.findall(rb"[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}", decoded_token))

  3. Observe that the token contains a full email address, e.g.,: ***[email protected]***

## Recommendations
-  Do not embed PII (email addresses) in tokens
- Disallow crawling of sensitive URLs with robots.txt

User-agent: * Disallow: /users/confirm_email/


Note: I also tired sending by creating my own account and the url contains the email address in confirmation email.

https://dashboard.omise.co/users/confirm_email/BAhbCGkD5+gCVTogQWN0aXZlU3VwcG9ydDo6VGltZVdpdGhab25lWwhJdToJVGltZQ1qVh%2FA51yK3Ak6DW5hbm9fbnVtaQH7Og1uYW5vX2RlbmkGOg1zdWJtaWNybyIHJRA6CXpvbmVJIghVVEMGOgZFRkkiCFVUQwY7C1RJdTsGDWpWH8DnXIrcCTsHaQH7OwhpBjsJIgclEDsKQAlJIiFtYW50dWhhY2tlcm9uZTE3MzhAZ21haWwuY29tBjsLVA==--5d75e1da7fbede4b6285f61f758e5dbed8d62604

██████


  #POC
████

Thanks 
@mantu1738

## Impact

- Leaks **PII (email address)** in URL
- Publicly archived link on Wayback Machine exposes user identity
- Token is easily **Base64-decoded**
- Potential **email confirmation abuse** if token is replayable
- Risk of **user enumeration** or phishing

The original report as published on HackerOne, by mantu1738. 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 token was built by serialising the user's email address into the token itself rather than storing an opaque random value server-side.

Impact

Email addresses are exposed publicly through archived links, which could aid user enumeration or phishing, and the token may in theory be replayable.

What the attacker needed

Confirmation link archived publicly; attacker can reach the archive

The fix

The token should not contain personal data; it should be an opaque random value, and sensitive confirmation paths should be excluded from crawling.

How it was found

  1. Open an archived confirmation URL stored on the Wayback Machine.
  2. Take the token portion out of the URL.
  3. Base64-decode the token after URL-decoding it.
  4. See the full email address inside the decoded data.

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 website often sends a link to confirm your email. Here that link contained a scrambled (Base64) copy of your email address, and the scrambling is easy to undo. Because the link was saved by an internet archive, anyone could read the email address from it.

What is Info disclosure?

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

More by mantu1738

View all

2 more disclosed reports, best first.

More from Omise

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.