CVE-2022-46146

Prometheus Exporter Toolkit vulnerable to basic authentication bypass

State
Published
Severity
6.2 Medium
Published
Nov 29, 2022
Updated
Aug 3, 2024
Reserved
Nov 28, 2022

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-303 Incorrect Implementation of Authentication Algorithm
  • CWE-287 Improper Authentication

Affected Products

ProductVersions
exporter-toolkitprometheus
  • < 0.7.2Affected
  • >= 0.8.0, < 0.8.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.