Skip to content
Info disclosure Write-up Beginner

How I Found 0-Click Account-Takeover

A MailCatcher instance was publicly accessible without authentication, exposing verification and password reset emails. An attacker could read tokens from these emails and use them to take over user accounts without any victim interaction.

medium.com

Published on medium.com

I was enumerating subdomains using subfinder, followed by filtering for active assets. Nothing unusual — just the usual process of going through each subdomain one by one, looking for anything that stood out.

0xAthul, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a development email-capturing service was deployed on a public subdomain without authentication or network restrictions.

Impact

An attacker could read verification and password reset tokens for other users and use them to take over accounts, with no action needed from the victim.

What the attacker needed

Publicly accessible MailCatcher instance; victim has an account on the main app; no victim interaction needed

The fix

The service should be restricted to localhost, removed from public environments, protected with authentication, and blocked by firewall rules.

How it was found

  1. Enumerate subdomains and find mailcatcher.redacted.com.
  2. Open the MailCatcher interface in a browser and see emails without logging in.
  3. Create a new account on the main application to trigger a verification email.
  4. Return to MailCatcher and find the verification email with a valid token.

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 write-up has not been written yet. The Original tab links to the source.

MailCatcher is a tool developers use to test emails without sending them to real inboxes. Here it was left open on the internet, so anyone could read the emails it caught, including links that let you verify or reset an account. That means someone could take over other people's accounts just by reading those emails.

What is Info disclosure?

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

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.