Skip to content
Info disclosure Write-up Beginner

$100 for a Filthy Enterprise Email Leaks in source code.

The source code of a marketing automation service exposed email addresses belonging to other organisations. An attacker could use these emails for phishing, social engineering, or credential stuffing.

medium.com

Published on medium.com

Hey there! No, I’m not an alien — just a regular human with terrible humor.

Abu Hurayra, 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, email addresses of client organisations were hard-coded or left in client-side source code instead of being kept server-side.

Impact

The exposed emails could be used for phishing, social engineering, or credential stuffing against the affected organisations.

What the attacker needed

Access to the public website source code; none

How it was found

  1. Gather subdomains using active and passive reconnaissance.
  2. Scrape old history and JavaScript files with Wayback Machine and Katana.
  3. Run grep and gf patterns to extract interesting URLs.
  4. Run LeakJS to scan source code for leaks.
  5. Manually review the source code and notice an email address whose domain did not match the site.
  6. Find multiple well-known company names in the email list.

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.

Source code is the human-readable text that makes up a website or app. Here, that code accidentally included email addresses of people from other companies. Someone who found them could use those addresses to send convincing fake messages or try to break into accounts.

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.