It's Everywhere: A Kutty Bug Bounty Story
A SaaS provider's API tokens were left in public Postman workspaces, and some of those tokens were still valid. An attacker who found them could call the provider's APIs and read, add or modify data within the token's permissions.
medium.com
Published on medium.com
Recently, I reported a vulnerability and received a bounty for it. The bug was small, and the bounty amount was also small.
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 tokens with live permissions were stored in Postman workspaces that were set to public, so anyone could find and reuse them.
Impact
An attacker with a valid token could read, add or modify the provider's data within that token's permissions; the report was rated low priority.
What the attacker needed
Public Postman workspaces; a still-valid leaked token; no account needed to search
How it was found
- Read the SaaS provider's API documentation and find the token-generating API.
- Search Postman for that API and collect the public workspace results.
- Open each result and test the tokens found in it.
- Use a still-valid token to call APIs and modify existing 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.
Many services let you call their APIs with a token, which is like a password that a program uses instead of a person. Someone had saved working tokens in Postman, a tool for testing APIs, in workspaces that anyone on the internet can browse. Because the tokens still worked, anyone who searched could act as that customer and change their data.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.