Prometheus
Prometheus Azure AD remote write OAuth client secret exposed via config API
Prometheus is an open-source monitoring system and time series database. Prior to versions 3.5.3 and 3.11.3, the client_secret field in the Azure AD remote write OAuth configuration (storage/remote/azuread) was typed as string instead of Secret. Prometheus redacts fields of type Secret when serving the configuration via the /-/config HTTP API endpoint. Because the field was a plain string, the Azure OAuth client secret was exposed in plaintext to any user or process with access to that endpoint. This issue has been patched in versions 3.5.3 and 3.11.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.5.3
- >= 3.6.0, < 3.11.3
Fixed in 3.5.3, 3.11.3
Mitigation
Upgrade prometheus to 3.5.3 or 3.11.3 or later.
References
- Vendor advisory github.com/prometheus/prometheus/security/advi…
- Patch github.com/prometheus/prometheus/pull/18587
- Patch github.com/prometheus/prometheus/pull/18590
2 more
- Release notes github.com/prometheus/prometheus/releases/tag/…
- Release notes github.com/prometheus/prometheus/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.