Description (CNA)
OpenCost before 1.121.0 fails to authenticate the GET /helmValues endpoint, exposing base64-decoded HELM_VALUES environment variable containing cloud provider credentials. Additionally, adminAuthMiddleware fails open when ADMIN_TOKEN is unset, allowing unauthenticated attackers to modify GCP service account keys via POST /serviceKey to redirect billing calls.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| opencost / opencost | affected 0 before 1.121.0 |
CWE
CWE-306
References
- https://github.com/opencost/opencost/issues/3893
- https://github.com/opencost/opencost/releases/tag/core/v1.121.0
- https://github.com/opencost/opencost/pull/3910
- https://github.com/opencost/opencost/commit/a49a25bc2e0d6e220a131a4dc58f38ebe6ae851b
- https://www.vulncheck.com/advisories/opencost-unauthenticated-helm-values-exposure-and-admin-bypass
ADP enrichment
No English description supplied.
No references supplied.