Exposed API-key allows to control nightly builds of firmwares (█████████ & ████████)
A publicly exposed API token had been granted full-access permissions to the API that controls nightly firmware builds. An attacker could use it to upload new builds and modify existing ones.
- Triaged in under an hour
- Fixed in 2 hours
- Paid in 2 hours
- Disclosed after 11 months
Summary by the program
The researcher found a public API token that was mistakenly granted full-access permission, which allowed the creation/overwrite of nightly builds of UniFi Firmware.
Summary by the researcher
Publicly available api-key granted full access permissions to API that controls nightly builds of Ubiquiti firmwares, i.e. it was possible to upload new builds and modify existing ones.
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 full-access API token was mistakenly granted to a public API, exposing it without being scoped down.
Impact
An attacker could upload new nightly firmware builds and modify existing ones.
What the attacker needed
Access to the publicly exposed API token
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 token is like a password that lets a program talk to a service. This token was left where anyone could find it and it had the highest level of permission. That meant someone outside the company could add or change the test versions of the device software.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.