Description
Prometheus through 3.15.1 contains a credential leak vulnerability that allows attackers to capture Azure AD or Google IAM bearer tokens by redirecting remote_write requests to another host. Attackers controlling the remote-write endpoint or a redirecting server can return a 3xx to their host and replay the token, for example to write metrics to the victim's backend.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
prometheus prometheus
Default version status: unaffected
0 to ≤ 3.15.1affected
pkg:github/prometheus/prometheusReferences
- https://github.com/prometheus/prometheus/blob/v3.15.1/storage/remote/azuread/azuread.go#L326-L333 ↗
- https://github.com/prometheus/prometheus/blob/v3.15.1/storage/remote/client.go#L205-L216 ↗
- https://github.com/prometheus/common/pull/901 ↗
- https://abraxaslabs.tech/research/prometheus-bearer-redirect ↗
- https://github.com/prometheus/prometheus ↗
- https://www.vulncheck.com/advisories/prometheus-through-3.15.1-credential-leak-via-remote-write-cross-host-redirects ↗