JumpCloud API Key leaked via Open Github Repository.
A JumpCloud API key was exposed in a public GitHub repository, allowing anyone to access internal system information. The reporter demonstrated that the key could list systems, users, and SSO applications, and claimed it could lead to AWS account takeover.
Originally disclosed on HackerOne
- Triaged in 13 hours
- Fixed in 18 days
- Paid in 18 days
- Disclosed after 2 months
Summary by the program
vinothkumar discovered a publicly available Github repository containing a Starbucks JumpCloud API Key which provided access to internal system information.
@vinothkumar — thank you for reporting this vulnerability and confirming the resolution.
The report
Summary: Open Github Repo Leaking Starbucks JumbCloud API Key
Description: Team,
While going through Github search I discovered a public repository which contains Jumbcloud API Key of Starbucks.
Repo: https://github.com/██████████/Project. File: https://github.com/████/Project/blob/0d56bb910923da2fbee95971778923f734a25f68/getSystemUsers.go
req.Header.Add("x-api-key", "████████")
POC
- List systems ```
curl -H "x-api-key: ████████" "https://console.jumpcloud.com/api/systems"
* ```
curl -H "x-api-key: █████" "https://console.jumpcloud.com/api/systemusers"
- SSO Applications ```curl -H "x-api-key: ██████" "https://console.jumpcloud.com/api/applications"
## Impact
This issue impact is critical as through this API anyone could
* Execute commands on systems [https://docs.jumpcloud.com/1.0/commands/create-a-command](https://docs.jumpcloud.com/1.0/commands/create-a-command)
* Add/Remove users which has access to internal systems
* AWS Account Takeover
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a developer committed a hard-coded API key into a public GitHub repository.
Impact
The exposed key could allow an attacker to execute commands on systems, add or remove users, and potentially take over an AWS account.
What the attacker needed
Public GitHub repository with API key; no authentication needed beyond the key
How it was found
- Search GitHub and find a public repository containing a JumpCloud API key.
- Use the key to call the JumpCloud API and list systems.
- Use the key to list system users.
- Use the key to list SSO applications and find AWS SAM configuration.
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 report has not been written yet. The Original tab links to the source.
An API key is like a password that lets a program talk to a service. Here, someone accidentally put a real key into a public code repository on GitHub, so anyone could find it and use it to read internal data and possibly take over cloud accounts.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.