Skip to content
Misconfiguration Write-up Intermediate

Forgotten Subdomain = $1000 “AWS Breach” Bounty

A wildcard subdomain exposed an internal Redmine instance that allowed public registration with any email at the company domain without verifying ownership. After registering, the researcher found plaintext production credentials and AWS access keys in tickets, which granted access to production AWS infrastructure and S3 buckets containing personal data.

medium.com

Published on medium.com

Free Article Link: Click Here!

Akash Singh, 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 combination of an exposed internal service behind a wildcard DNS record, registration that checked only the email domain without verifying ownership, and secrets stored in plaintext in tickets.

Impact

The researcher could access production AWS infrastructure and S3 buckets containing millions of users' personal documents, though testing was stopped after verification and no data was exfiltrated.

What the attacker needed

Internet access; no account needed initially; wildcard subdomain exposed

The fix

The company rotated the AWS credentials, added email verification to Redmine, and paid a bounty.

How it was found

  1. Enumerate subdomains of the target domain and notice a wildcard record under corp.
  2. Brute-force common corporate service names and find a Redmine instance responding.
  3. Register an account using an email address at the company domain, which is accepted without verification.
  4. Browse tickets and wiki pages, finding plaintext production credentials.
  5. Crawl the Redmine instance and search saved pages for AWS key patterns.
  6. Configure the AWS CLI with the found keys and confirm valid production 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.

A wildcard subdomain means any name under it resolves, so forgotten internal tools can be exposed to the internet. The Redmine tool let anyone register using a company email address without proving they owned it, giving access to internal tickets. Those tickets contained passwords and cloud keys, which let the researcher reach the company's Amazon cloud storage.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.