Improper Authentication in Grafana - CVE-2022-39229

 

Improper Authentication in Grafana - CVE-2022-39229

Published: February 12, 2023


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

Vulnerability details

The vulnerability allows a remote attacker to deny access to the application.

The vulnerability exists due to a logic error in the authentication process, where application allows usage of the same email address by different accounts. A remote user can set an existing email address that belongs to another user as their username and prevent that user from accessing the application.


Affected software

Grafana
Oracle Linux
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Tools for SLE Micro
SUSE Manager Client Tools Beta for SLE Micro
SUSE Linux Enterprise Micro
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
SUSE Manager Tools
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 Desktop
SUSE Linux Enterprise High Performance Computing
openSUSE Leap
openEuler
OpenShift Service Mesh
IBM Watson Machine Learning Accelerator
Storage Ceph
SUSE Linux Enterprise Module for Packagehub Subpackages
firewalld-prometheus-config
kiwi-desc-saltboot
dracut-saltboot
golang-github-QubitProducts-exporter_exporter
prometheus-postgres_exporter
golang-github-prometheus-promu
prometheus-blackbox_exporter
prometheus-blackbox_exporter-debuginfo
golang-github-prometheus-alertmanager
system-user-prometheus
system-user-grafana
golang-github-lusitaniae-apache_exporter
golang-github-lusitaniae-apache_exporter-debuginfo
supportutils-plugin-salt
golang-github-prometheus-node_exporter
golang-github-boynux-squid_exporter
golang-github-boynux-squid_exporter-debuginfo
python2-hwdata
python3-hwdata
ansible
ansible-doc
golang-github-prometheus-prometheus
mgr-push
python2-mgr-push
python2-rhnlib
python3-mgr-push
python3-rhnlib
python2-uyuni-common-libs
mgr-osad
python2-mgr-osa-common
python2-mgr-osad
python3-uyuni-common-libs
python3-mgr-osa-common
python3-mgr-osad
python2-spacewalk-client-setup
python2-spacewalk-client-tools
spacewalk-check
python2-spacewalk-check
spacewalk-client-tools
spacewalk-client-setup
python3-spacewalk-check
python3-spacewalk-client-tools
python3-spacewalk-client-setup
spacecmd
supportutils-plugin-susemanager-client
uyuni-proxy-systemd-services
python3-pyvmomi
grafana (Red Hat package)
grafana
grafana-debuginfo
Red Hat Ceph Storage

How to mitigate CVE-2022-39229

Install updates from vendor's website.

Grafana - addressed in versions 8.5.14, 9.1.8
OpenShift Service Mesh - addressed in versions 2.2.7, 2.4.0
IBM Watson Machine Learning Accelerator - update to 3.0.0
firewalld-prometheus-config - update to 0.1-159000.6.33.1
kiwi-desc-saltboot - addressed in versions 0.1.1673279145.e7616bd-1.32.1, 0.1.1687520761.cefb248-4.15.2
dracut-saltboot - addressed in versions 0.1.1673279145.e7616bd-150000.1.44.1, 0.1.1681904360.84ef141-159000.3.30.1
golang-github-QubitProducts-exporter_exporter - addressed in versions 0.4.0-4.6.2, 0.4.0-159000.4.6.1
prometheus-postgres_exporter - addressed in versions 0.10.1-3.6.4, 0.10.1-159000.3.6.1
golang-github-prometheus-promu - update to 0.14.0-4.12.2
prometheus-blackbox_exporter - addressed in versions 0.24.0-3.6.3, 0.24.0-159000.3.6.1
prometheus-blackbox_exporter-debuginfo - update to 0.24.0-3.6.3
golang-github-prometheus-alertmanager - update to 0.26.0-4.12.4
system-user-prometheus - update to 1.0.0-3.7.2
system-user-grafana - update to 1.0.0-3.7.2
golang-github-lusitaniae-apache_exporter - addressed in versions 1.0.0-4.12.4, 1.0.0-159000.4.12.1
golang-github-lusitaniae-apache_exporter-debuginfo - update to 1.0.0-159000.4.12.1
supportutils-plugin-salt - addressed in versions 1.2.2-9.9.2, 1.2.2-159000.5.9.1
golang-github-prometheus-node_exporter - update to 1.5.0-4.15.4
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
python2-hwdata - update to 2.3.5-15.12.2
python3-hwdata - update to 2.3.5-159000.5.13.1
ansible - update to 2.9.27-159000.3.9.1
ansible-doc - update to 2.9.27-159000.3.9.1
golang-github-prometheus-prometheus - addressed in versions 2.45.0-4.33.3, 2.45.0-159000.6.33.1
mgr-push - addressed in versions 4.3.5-1.24.1, 4.3.5-150000.1.24.2, 5.0.1-4.21.4, 5.0.1-159000.4.21.1
python2-mgr-push - addressed in versions 4.3.5-1.24.1, 5.0.1-4.21.4
python2-rhnlib - addressed in versions 4.3.5-21.46.1, 5.0.1-24.30.3
python3-mgr-push - addressed in versions 4.3.5-150000.1.24.2, 5.0.1-159000.4.21.1
python3-rhnlib - addressed in versions 4.3.5-150000.3.40.1, 5.0.1-159000.6.30.1
python2-uyuni-common-libs - addressed in versions 4.3.7-1.30.1, 5.0.1-3.33.3
mgr-osad - addressed in versions 4.3.7-1.42.1, 4.3.7-150000.1.42.1
python2-mgr-osa-common - update to 4.3.7-1.42.1
python2-mgr-osad - update to 4.3.7-1.42.1
python3-uyuni-common-libs - addressed in versions 4.3.7-150000.1.30.1, 5.0.1-159000.3.33.1
python3-mgr-osa-common - update to 4.3.7-150000.1.42.1
python3-mgr-osad - update to 4.3.7-150000.1.42.1
python2-spacewalk-client-setup - update to 4.3.14-52.83.1
python2-spacewalk-client-tools - update to 4.3.14-52.83.1
spacewalk-check - addressed in versions 4.3.14-52.83.1, 4.3.14-150000.3.74.1, 5.0.1-159000.6.48.1
python2-spacewalk-check - update to 4.3.14-52.83.1
spacewalk-client-tools - addressed in versions 4.3.14-52.83.1, 4.3.14-150000.3.74.1, 5.0.1-159000.6.48.1
spacewalk-client-setup - addressed in versions 4.3.14-52.83.1, 4.3.14-150000.3.74.1, 5.0.1-159000.6.48.1
python3-spacewalk-check - addressed in versions 4.3.14-150000.3.74.1, 5.0.1-159000.6.48.1
python3-spacewalk-client-tools - addressed in versions 4.3.14-150000.3.74.1, 5.0.1-159000.6.48.1
python3-spacewalk-client-setup - addressed in versions 4.3.14-150000.3.74.1, 5.0.1-159000.6.48.1
spacecmd - addressed in versions 4.3.18-38.115.1, 4.3.18-150000.3.92.1, 5.0.1-41.42.3, 5.0.1-159000.6.42.1
supportutils-plugin-susemanager-client - addressed in versions 5.0.1-9.15.2, 5.0.1-159000.6.15.1
uyuni-proxy-systemd-services - update to 5.0.1-159000.3.9.1
Red Hat Ceph Storage - update to 6.1
Storage Ceph - update to 6.1
python3-pyvmomi - update to 6.7.3-159000.3.6.1
grafana (Red Hat package) - addressed in versions 7.5.15-4.el8, 9.0.9-2.el9
grafana - update to 7.5.15-4.0.2
grafana - update to 7.5.15-7
grafana-debuginfo - update to 7.5.15-7
grafana - addressed in versions 8.5.15-1.39.1, 8.5.15-150000.1.39.1, 8.5.15-150200.3.32.1, 9.5.8-4.21.2, 9.5.8-159000.4.24.1
grafana-debuginfo - addressed in versions 8.5.15-150000.1.39.1, 8.5.15-150200.3.32.1, 9.5.8-159000.4.24.1

External References

Related Security Bulletins