Use of Password Hash Instead of Password for Authentication in prometheus - CVE-2022-46146

 

Use of Password Hash Instead of Password for Authentication in prometheus - CVE-2022-46146

Published: November 29, 2022 / Updated: November 30, 2022


Vulnerability identifier: #VU69691
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-46146
CWE-ID: CWE-836
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to incorrect implementation of basic authentication. A remote attacker with knowledge of the password hash can authenticate against Prometheus without actual knowledge of the password.


Affected software

prometheus
ObjectScale
node_exporter
Dell EMC Streaming Data Platform
EMC Cloud Tiering Appliance
Gentoo Linux
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Server Module
SUSE Manager Proxy Module
SUSE Manager Client Tools Beta for SLE Micro
SUSE Linux Enterprise Micro
SUSE Manager Client Tools for SLE Micro
SUSE Enterprise Storage
SUSE Manager Client Tools for RHEL, Liberty and Clones
Fedora
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
SUSE Manager Client Tools for SLE
SUSE Manager Client Tools Beta for SLE
SUSE Linux Enterprise Server for the Raspberry Pi
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 12 SP4 ESPOS
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Module for SAP Applications
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise High Performance Computing
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
Red Hat OpenShift Container Platform
scap-security-guide-redhat
firewalld-prometheus-config
dracut-saltboot
kiwi-desc-saltboot
golang-github-QubitProducts-exporter_exporter-debugsource
golang-github-QubitProducts-exporter_exporter-debuginfo
golang-github-QubitProducts-exporter_exporter
wire-debuginfo
wire
golang-github-prometheus-exporter-toolkit
prometheus-postgres_exporter
golang-github-prometheus-promu
prometheus-blackbox_exporter-debuginfo
prometheus-blackbox_exporter
golang-github-prometheus-alertmanager
app-metrics/snmp_exporter
golang-github-lusitaniae-apache_exporter
golang-github-lusitaniae-apache_exporter-debugsource
system-user-prometheus
system-user-grafana
golang-github-lusitaniae-apache_exporter-debuginfo
python2-zypp-plugin-spacewalk
zypp-plugin-spacewalk
python3-zypp-plugin-spacewalk
supportutils-plugin-salt
prometheus-ha_cluster_exporter
golang-github-prometheus-node_exporter-debuginfo
golang-github-prometheus-node_exporter-debugsource
golang-github-prometheus-node_exporter
golang-github-boynux-squid_exporter
golang-github-boynux-squid_exporter-debuginfo
node-exporter
golang-github-xhit-str2duration
golang-gopkg-alecthomas-kingpin-2
python2-hwdata
python3-hwdata
ansible-doc
ansible
golang-github-prometheus-prometheus
release-notes-susemanager-proxy
release-notes-susemanager
supportutils-plugin-susemanager-client
mgr-daemon
python2-uyuni-common-libs
uyuni-proxy-systemd-services
python3-uyuni-common-libs
spacewalk-client-tools
spacewalk-client-setup
python2-spacewalk-client-tools
python2-spacewalk-check
spacewalk-check
python2-spacewalk-client-setup
python3-spacewalk-check
python3-spacewalk-client-setup
python3-spacewalk-client-tools
spacecmd
mgr-push
python2-mgr-push
python2-rhnlib
python3-mgr-push
python3-rhnlib
python3-pyvmomi
grafana
grafana-debuginfo
libisccc1600
libisc1606
libisccc1600-32bit
libbind9-1600-32bit
libirs1601-32bit
libbind9-1600
libisc1606-32bit-debuginfo
python3-bind
bind-utils
libisccfg1600
libdns1605-64bit
libdns1605
libirs1601
libbind9-1600-32bit-debuginfo
libirs1601-32bit-debuginfo
libns1604-32bit
libdns1605-32bit-debuginfo
libisccc1600-32bit-debuginfo
libisc1606-32bit
bind-devel-32bit
libisccfg1600-32bit-debuginfo
bind-devel
bind-debugsource
libdns1605-debuginfo
libns1604-debuginfo
bind-chrootenv
libirs-devel
libbind9-1600-debuginfo
libisccfg1600-debuginfo
libisccc1600-debuginfo
bind-doc
libns1604-32bit-debuginfo
libisc1606-debuginfo
libisccc1600-64bit
bind
bind-utils-debuginfo
bind-debuginfo
libns1604
libdns1605-32bit
libisc1606-64bit
libisccfg1600-64bit
libirs1601-64bit
libbind9-1600-64bit
libirs1601-debuginfo
libisccfg1600-32bit

How to mitigate CVE-2022-46146

Install updates from vendor's website.

prometheus - addressed in versions 2.37.4, 2.40.4
ObjectScale - update to 1.3.0
node_exporter - addressed in versions 1.4.1, 1.5.0
Red Hat OpenShift Container Platform - addressed in versions 4.11.49, 4.12.16, 4.13.0
scap-security-guide-redhat - update to 0.1.69-1.12.2
firewalld-prometheus-config - addressed in versions 0.1-150000.3.44.1, 0.1-150000.3.47.2, 0.1-150000.3.50.3, 0.1-150100.4.12.1, 0.1-150100.4.17.1, 0.1-159000.6.33.1
dracut-saltboot - addressed in versions 0.1.1674034019.a93ff61-150000.1.47.1, 0.1.1681904360.84ef141-150000.1.50.1, 0.1.1681904360.84ef141-159000.3.30.1
kiwi-desc-saltboot - update to 0.1.1687520761.cefb248-4.15.2
golang-github-QubitProducts-exporter_exporter-debugsource - update to 0.4.0-1.6.1
golang-github-QubitProducts-exporter_exporter-debuginfo - update to 0.4.0-1.6.1
golang-github-QubitProducts-exporter_exporter - addressed in versions 0.4.0-1.6.1, 0.4.0-1.12.2, 0.4.0-4.6.2, 0.4.0-150000.1.18.3, 0.4.0-159000.4.6.1
wire-debuginfo - update to 0.5.0-150000.1.12.3
wire - update to 0.5.0-150000.1.12.3
golang-github-prometheus-exporter-toolkit - addressed in versions 0.10.0-1.fc37, 0.10.0-1.fc38, 0.10.0-1.fc39
prometheus-postgres_exporter - addressed in versions 0.10.1-1.6.2, 0.10.1-1.9.2, 0.10.1-1.11.5, 0.10.1-1.14.3, 0.10.1-3.6.4, 0.10.1-150000.1.11.4, 0.10.1-150000.1.14.3, 0.10.1-150400.3.3.6, 0.10.1-159000.3.6.1
golang-github-prometheus-promu - addressed in versions 0.14.0-1.12.1, 0.14.0-4.12.2, 0.14.0-150000.3.12.2
prometheus-blackbox_exporter-debuginfo - addressed in versions 0.19.0-1.17.1, 0.24.0-1.23.2, 0.24.0-3.6.3
prometheus-blackbox_exporter - addressed in versions 0.19.0-1.17.1, 0.19.0-150000.1.17.2, 0.24.0-1.23.2, 0.24.0-3.6.3, 0.24.0-150000.1.23.3, 0.24.0-159000.3.6.1
golang-github-prometheus-alertmanager - addressed in versions 0.23.0-1.18.3, 0.23.0-1.21.2, 0.23.0-150100.4.13.2, 0.26.0-4.12.4
app-metrics/snmp_exporter - update to 0.24.1
golang-github-lusitaniae-apache_exporter - addressed in versions 1.0.0-1.8.1, 1.0.0-1.18.2, 1.0.0-4.12.4, 1.0.0-150000.1.17.2, 1.0.0-159000.4.12.1
golang-github-lusitaniae-apache_exporter-debugsource - update to 1.0.0-1.8.1
system-user-prometheus - addressed in versions 1.0.0-3.7.2, 1.0.0-150000.8.4
system-user-grafana - update to 1.0.0-3.7.2
golang-github-lusitaniae-apache_exporter-debuginfo - addressed in versions 1.0.0-150000.1.17.2, 1.0.0-159000.4.12.1
python2-zypp-plugin-spacewalk - update to 1.0.14-30.42.1
zypp-plugin-spacewalk - addressed in versions 1.0.14-30.42.1, 1.0.14-150000.3.35.1
python3-zypp-plugin-spacewalk - update to 1.0.14-150000.3.35.1
supportutils-plugin-salt - addressed in versions 1.2.2-9.9.2, 1.2.2-150000.3.13.1, 1.2.2-159000.5.9.1
prometheus-ha_cluster_exporter - addressed in versions 1.3.1+git.1676027782.ad3c0e9-4.26.1, 1.3.1+git.1676027782.ad3c0e9-150000.1.24.1, 1.3.1+git.1676027782.ad3c0e9-150200.3.21.1
golang-github-prometheus-node_exporter-debuginfo - addressed in versions 1.5.0-1.6.1, 1.5.0-1.9.2
golang-github-prometheus-node_exporter-debugsource - addressed in versions 1.5.0-1.6.1, 1.5.0-1.9.2
golang-github-prometheus-node_exporter - addressed in versions 1.5.0-1.6.1, 1.5.0-1.9.2, 1.5.0-1.24.4, 1.5.0-1.27.2, 1.5.0-4.15.4, 1.5.0-150100.3.23.2
golang-github-boynux-squid_exporter - addressed in versions 1.6-4.9.2, 1.6-159000.4.9.1
golang-github-boynux-squid_exporter-debuginfo - update to 1.6-159000.4.9.1
Dell EMC Streaming Data Platform - update to 1.7.0
node-exporter - update to 1.9.1-2.el9
golang-github-xhit-str2duration - addressed in versions 2.1.0-3.fc37, 2.1.0-3.fc38, 2.1.0-3.fc39
golang-gopkg-alecthomas-kingpin-2 - addressed in versions 2.3.2-1.fc37, 2.3.2-1.fc38, 2.3.2-1.fc39
python2-hwdata - update to 2.3.5-15.12.2
python3-hwdata - update to 2.3.5-159000.5.13.1
ansible-doc - update to 2.9.27-159000.3.9.1
ansible - update to 2.9.27-159000.3.9.1
golang-github-prometheus-prometheus - addressed in versions 2.32.1-1.41.1, 2.32.1-150000.3.44.1, 2.32.1-150100.4.12.1, 2.37.6-1.44.3, 2.37.6-150000.3.47.2, 2.37.6-150100.4.17.1, 2.45.0-1.47.3, 2.45.0-4.33.3, 2.45.0-150000.3.50.3, 2.45.0-159000.6.33.1
release-notes-susemanager-proxy - update to 4.2.13-150300.3.64.2
release-notes-susemanager - update to 4.2.13-150300.3.81.1
supportutils-plugin-susemanager-client - addressed in versions 4.3.3-6.27.2, 4.3.3-150000.3.21.2, 5.0.1-9.15.2, 5.0.1-159000.6.15.1
mgr-daemon - addressed in versions 4.3.7-1.41.1, 4.3.7-150000.1.41.1
python2-uyuni-common-libs - addressed in versions 4.3.8-1.33.1, 4.3.9-1.36.3, 5.0.1-3.33.3
uyuni-proxy-systemd-services - addressed in versions 4.3.8-150000.1.12.1, 5.0.1-159000.3.9.1
python3-uyuni-common-libs - addressed in versions 4.3.8-150000.1.33.1, 4.3.9-150000.1.36.2, 5.0.1-159000.3.33.1
spacewalk-client-tools - addressed in versions 4.3.15-52.86.1, 4.3.15-150000.3.77.1, 5.0.1-159000.6.48.1
spacewalk-client-setup - addressed in versions 4.3.15-52.86.1, 4.3.15-150000.3.77.1, 5.0.1-159000.6.48.1
python2-spacewalk-client-tools - update to 4.3.15-52.86.1
python2-spacewalk-check - update to 4.3.15-52.86.1
spacewalk-check - addressed in versions 4.3.15-52.86.1, 4.3.15-150000.3.77.1, 5.0.1-159000.6.48.1
python2-spacewalk-client-setup - update to 4.3.15-52.86.1
python3-spacewalk-check - addressed in versions 4.3.15-150000.3.77.1, 5.0.1-159000.6.48.1
python3-spacewalk-client-setup - addressed in versions 4.3.15-150000.3.77.1, 5.0.1-159000.6.48.1
python3-spacewalk-client-tools - addressed in versions 4.3.15-150000.3.77.1, 5.0.1-159000.6.48.1
spacecmd - addressed in versions 4.3.19-38.118.1, 4.3.19-150000.3.95.1, 4.3.21-38.121.1, 4.3.21-150000.3.98.1, 4.3.23-1.18.2, 4.3.23-38.127.3, 4.3.23-150000.3.104.2, 5.0.1-41.42.3, 5.0.1-159000.6.42.1
mgr-push - addressed in versions 5.0.1-4.21.4, 5.0.1-159000.4.21.1
python2-mgr-push - update to 5.0.1-4.21.4
python2-rhnlib - update to 5.0.1-24.30.3
python3-mgr-push - update to 5.0.1-159000.4.21.1
python3-rhnlib - update to 5.0.1-159000.6.30.1
python3-pyvmomi - addressed in versions 6.7.3-150000.1.6.2, 6.7.3-159000.3.6.1
grafana - addressed in versions 8.5.20-1.42.1, 8.5.20-150000.1.42.1, 8.5.20-150200.3.35.1, 9.5.1-1.48.1, 9.5.1-150000.1.48.5, 9.5.5-1.54.3, 9.5.5-150000.1.54.3, 9.5.8-4.21.2, 9.5.8-159000.4.24.1
grafana-debuginfo - addressed in versions 8.5.20-150000.1.42.1, 8.5.20-150200.3.35.1, 9.5.1-150000.1.48.5, 9.5.5-150000.1.54.3, 9.5.8-159000.4.24.1
libisccc1600 - update to 9.16.6-150000.12.65.1
libisc1606 - update to 9.16.6-150000.12.65.1
libisccc1600-32bit - update to 9.16.6-150000.12.65.1
libbind9-1600-32bit - update to 9.16.6-150000.12.65.1
libirs1601-32bit - update to 9.16.6-150000.12.65.1
libbind9-1600 - update to 9.16.6-150000.12.65.1
libisc1606-32bit-debuginfo - update to 9.16.6-150000.12.65.1
python3-bind - update to 9.16.6-150000.12.65.1
bind-utils - update to 9.16.6-150000.12.65.1
libisccfg1600 - update to 9.16.6-150000.12.65.1
libdns1605-64bit - update to 9.16.6-150000.12.65.1
libdns1605 - update to 9.16.6-150000.12.65.1
libirs1601 - update to 9.16.6-150000.12.65.1
libbind9-1600-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libirs1601-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libns1604-32bit - update to 9.16.6-150000.12.65.1
libdns1605-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libisccc1600-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libisc1606-32bit - update to 9.16.6-150000.12.65.1
bind-devel-32bit - update to 9.16.6-150000.12.65.1
libisccfg1600-32bit-debuginfo - update to 9.16.6-150000.12.65.1
bind-devel - update to 9.16.6-150000.12.65.1
bind-debugsource - update to 9.16.6-150000.12.65.1
libdns1605-debuginfo - update to 9.16.6-150000.12.65.1
libns1604-debuginfo - update to 9.16.6-150000.12.65.1
bind-chrootenv - update to 9.16.6-150000.12.65.1
libirs-devel - update to 9.16.6-150000.12.65.1
libbind9-1600-debuginfo - update to 9.16.6-150000.12.65.1
libisccfg1600-debuginfo - update to 9.16.6-150000.12.65.1
libisccc1600-debuginfo - update to 9.16.6-150000.12.65.1
bind-doc - update to 9.16.6-150000.12.65.1
libns1604-32bit-debuginfo - update to 9.16.6-150000.12.65.1
libisc1606-debuginfo - update to 9.16.6-150000.12.65.1
libisccc1600-64bit - update to 9.16.6-150000.12.65.1
bind - update to 9.16.6-150000.12.65.1
bind-utils-debuginfo - update to 9.16.6-150000.12.65.1
bind-debuginfo - update to 9.16.6-150000.12.65.1
libns1604 - update to 9.16.6-150000.12.65.1
libdns1605-32bit - update to 9.16.6-150000.12.65.1
libisc1606-64bit - update to 9.16.6-150000.12.65.1
libisccfg1600-64bit - update to 9.16.6-150000.12.65.1
libirs1601-64bit - update to 9.16.6-150000.12.65.1
libbind9-1600-64bit - update to 9.16.6-150000.12.65.1
libirs1601-debuginfo - update to 9.16.6-150000.12.65.1
libisccfg1600-32bit - update to 9.16.6-150000.12.65.1
EMC Cloud Tiering Appliance - update to 13.2.0.2.24

External References

Related Security Bulletins