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.012 (67.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 67th percentile — 67.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: +0.000
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)
- www.openwall.com/lists/oss-security/2022/11/29/1 (mailing-list, Exploit, Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2022/11/29/2 (mailing-list, Exploit, Patch, Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2022/11/29/4 (mailing-list, Exploit, Patch, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.gentoo.org/glsa/202401-15 (vendor-advisory)
Frequently asked questions
- What is CVE-2022-46146?
- CVE-2022-46146 is a medium-severity vulnerability in Prometheus Exporter-Toolkit, classified under Improper Authentication. CVSS score: 6.2/10. Published 2022-11-29.
- How severe is CVE-2022-46146?
- Medium severity. CVSS v3 base score is 6.2 out of 10.