Description (CNA)
Onyx 4.6.6 fails to properly restrict access to custom tool credentials stored in custom_headers, allowing any authenticated user to read admin-defined API keys. Attackers with basic authentication can call GET /tool/{tool_id} or GET /tool endpoints to retrieve plaintext authorization headers and third-party API credentials, then use them to directly access upstream APIs.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| onyx-dot-app / onyx | affected 0 through 4.6.6 |
CWE
CWE-522
References
- https://github.com/onyx-dot-app/onyx/issues/13165
- https://github.com/onyx-dot-app/onyx
- https://github.com/onyx-dot-app/onyx/blob/v4.6.6/backend/onyx/server/features/tool/models.py
- https://github.com/onyx-dot-app/onyx/blob/v4.6.6/backend/onyx/server/features/tool/api.py
- https://www.vulncheck.com/advisories/onyx-4.6.6-custom-tool-secret-header-disclosure-via-tool-endpoints
ADP enrichment
No English description supplied.
No references supplied.