Bug Bounty Journey — Valid Report Part 6
A company left a client ID and client secret in a public Postman repository, allowing the hunter to obtain an access token for a test account with full CRUD permissions. The data was dummy/test data, so no real user information was exposed.
medium.com
Published on medium.com
In this journey, I will share my experience with a valid report I submitted. This will be a series until I discover new vulnerabilities. 😊 Let’s begin!
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 company stored API credentials in a public Postman repository without removing them.
Impact
The credentials allowed access to a test account with full CRUD permissions on dummy data, but no real user information was exposed.
What the attacker needed
Public Postman repository with credentials; no authentication needed to view repository
The fix
The company should remove the exposed credentials from the public Postman repository and rotate them.
How it was found
- Search for the target's name on Postman.
- Analyse the results and find a client ID and client secret.
- Test the credentials to obtain an access token.
- Use the token to access API endpoints and confirm CRUD permissions on test data.
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 client ID and client secret are like a username and password for an application. If they are left in a public place, anyone can use them to log in as that application. Here, the credentials only gave access to test data, not real user information.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.