Auth bypass in Prometheus Exporter-Toolkit
CVE-2022-46146
Prometheus Exporter Toolkit is a utility package to build exporters. Prior to versions 0.7.2 and 0.8.2, if someone has access to a Prometheus web.yml file and users' bcrypted passwords, they can bypass security by poisoning the built-in authentication cache. Versions 0.7.2 and 0.8.2 contain a fix for the issue. There is no workaround, but attacker must have access to the hashed password to use this functionality.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.013, 70.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Prometheus Exporter-Toolkit — versions < 0.7.2, >= 0.8.0, < 0.8.2
- Prometheus Exporter Toolkit
Weakness classification (CWE)
References
- github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p (Third Party Advisory)
- github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d8… (Patch, Third Party Advisory)
- [oss-security] 20221129 CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication (mailing-list, Exploit, Mailing List, Third Party Advisory)
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication (mailing-list, Exploit, Patch, Mailing List, Third Party Advisory)
- [oss-security] 20221129 Re: CVE-2022-46146 in Prometheus' exporter toolkit: bypass basic authentication (mailing-list, Exploit, Patch, Mailing List, Third Party Advisory)
- FEDORA-2023-cf176d02d8 (vendor-advisory)
- FEDORA-2023-1b25579262 (vendor-advisory)
- FEDORA-2023-c1318fb7f8 (vendor-advisory)
- GLSA-202401-15 (vendor-advisory)