CVE-2022-46146
Prometheus Exporter Toolkit vulnerability
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.
Affected products
Exporter Toolkit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Prometheus Exporter Toolkit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.openwall.com/lists/oss-security/2022/11/29/2 · Exploit
- www.openwall.com/lists/oss-security/2022/11/29/4 · Exploit
- github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5 · Patch
- www.openwall.com/lists/oss-security/2022/11/29/1 · Exploit
- github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U
- nvd.nist.gov/vuln/detail/CVE-2022-46146
- cve.org/CVERecord?id=CVE-2022-46146
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.