Authentication bypass in Grafana - CVE-2018-558213,CVE-2018-15727

 

Authentication bypass in Grafana - CVE-2018-558213,CVE-2018-15727

Published: August 30, 2018 / Updated: April 22, 2020


Vulnerability identifier: #VU14575
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-558213,CVE-2018-15727
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication.

The vulnerability exists due to the web application generates predictable cookie value for the "remember me" cookie that is based on the username of an LDAP or OAuth user. A remote non-authenticated attacker can bypass authentication process and gain unrestricted access to the web application.

Successful exploitation of the vulnerability requires knowledge of the username.


Affected software

Grafana
Red Hat Gluster Storage Server for On-premise
Ceph

How to mitigate CVE-2018-558213,CVE-2018-15727

Update to version 4.6.4 or 5.2.3.

Grafana - addressed in versions 4.6.4, 5.2.3

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins