GLSA-202401-15 : Prometheus SNMP Exporter: Basic Authentication Bypass

high Nessus Plugin ID 188000

Description

The remote host is affected by the vulnerability described in GLSA-202401-15 (Prometheus SNMP Exporter: Basic Authentication Bypass)

- 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.
(CVE-2022-46146)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

All Prometheus SNMP Exporter users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose >=app-metrics/snmp_exporter-0.24.1

See Also

https://security.gentoo.org/glsa/202401-15

https://bugs.gentoo.org/show_bug.cgi?id=883649

Plugin Details

Severity: High

ID: 188000

File Name: gentoo_GLSA-202401-15.nasl

Version: 1.0

Type: local

Published: 1/12/2024

Updated: 1/12/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2022-46146

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:snmp_exporter, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/12/2024

Vulnerability Publication Date: 11/29/2022

Reference Information

CVE: CVE-2022-46146