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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
TencentCloud Octop
Default version status: unaffected
0 to ≤ 1.0.2b6affected
pkg:pypi/octopReferences
- https://github.com/TencentCloud/Octop/pull/1507 ↗
- https://github.com/TencentCloud/Octop/pull/1265 ↗
- https://hackmd.io/@haind/octop-provider-key-cross-role-read ↗
- https://github.com/TencentCloud/Octop/blob/eb28011249c02cafd389b2d424294c6c1b9cf422/src/octop/api/routers/providers.py#L120-L208 ↗
- https://www.vulncheck.com/advisories/octop-through-1.0-2b6-missing-authorization-exposes-provider-api-keys-via-api-providers ↗