Description
TencentCloud Octop through 1.0.2b6 contains a missing authorization vulnerability that allows authenticated low-privileged users to read stored provider API keys via GET /api/providers and GET /api/voice/providers. Attackers can query these endpoints, which only validate the JWT, to obtain plaintext LLM and voice provider API keys and abuse the upstream provider accounts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| TencentCloud | Octop | ≤ 1.0.2b6 | — |
References
- https://github.com/TencentCloud/Octop/pull/1507 issue-tracking patch
- https://github.com/TencentCloud/Octop/pull/1265 issue-tracking patch
- https://hackmd.io/@haind/octop-provider-key-cross-role-read third-party-advisory
- https://github.com/TencentCloud/Octop/blob/eb28011249c02cafd389b2d424294c6c1b9cf422/src/octop/api/routers/providers.py#L120-L208 technical-description
- VulnCheck Advisory: Octop through 1.0.2b6 Missing Authorization Exposes Provider API Keys via /api/providers third-party-advisory