Exploiting Directory Traversal to View Customer Credit Card Information on Yahoo's Small Business Platform
The Yahoo small business platform stored customer information in directories protected only by obscurity, using a predictable service ID. An attacker who knew a victim's email could enumerate the service ID with a wordlist and view the victim's payment information.
samcurry.net
Published on samcurry.net
To preface this article I'd like to give a huge shout out to Yahoo's paranoids and everyone involved in their bug bounty program. Due to certain privacy conditions I'll no longer able to participate in their program (no, I was not banned), but for the past year and a half I almost exclusively worked on their platform.
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 the service relied on an unguessable directory name for access control instead of checking the requester's authorisation, and the identifier was predictable enough to enumerate.
Impact
An attacker who knew a customer's email could view that customer's credit card information.
What the attacker needed
Knowledge of the victim's email address
How it was found
- Know the victim's email address.
- Run a wordlist against the predictable service ID.
- Read the victim's payment information from the response.
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.
Some websites hide private files by giving them hard-to-guess names instead of checking who is allowed to see them. Here the name was easy to guess, so someone who knew a customer's email address could try many names and read that customer's card details. This is called security by obscurity, and it fails once the secret name is guessable.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.