Skip to content
Account takeover Write-up Beginner

How I got Access to an Employee Only Portal — Bug Bounty

An internal employee-only portal was vulnerable to credential stuffing because leaked credentials from data breaches were valid for the subdomain. An attacker could use these credentials to log in and access the employee-only system.

medium.com

Published on medium.com

Some bugs might take very long to find, but others reveal themselves quickly, if you know where to look.

Jeosantos, 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

Impact

An attacker could gain access to an employee-only portal, potentially compromising company security, though the text notes the target had good CSRF protections and the CORS misconfiguration was not exploitable.

What the attacker needed

Leaked credentials from data breaches; access to a breach search service; no account lockout or MFA

How it was found

  1. Notice the program update spotlighting the internal subdomain.
  2. Query a data breach search engine for credentials matching the subdomain.
  3. Filter the results to find credentials for the specific subdomain.
  4. Test the credentials against the login form.
  5. Successfully log in with a working set of credentials.

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.

Credential stuffing is when someone takes usernames and passwords that were leaked in past data breaches and tries them on other websites, hoping people reused them. Here, the employee portal accepted a leaked username and password, so the attacker could log in as an employee. This is dangerous because it gives access to internal systems without hacking anything.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.