Authentication bypass in Grafana



Published: 2018-08-31
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-558213
CVE-2018-15727
CWE-ID CWE-287
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Grafana
Web applications / Other software

Vendor Grafana Labs

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Authentication bypass

EUVDB-ID: #VU14575

Risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:O/RC:C]

CVE-ID: CVE-2018-558213,CVE-2018-15727

CWE-ID: CWE-287 - Improper Authentication

Exploit availability: Yes

Description

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.

Mitigation

Update to version 4.6.4 or 5.2.3.

Vulnerable software versions

Grafana: 2.0.0 beta1 - 5.2.2

External links

http://community.grafana.com/t/grafana-5-2-3-and-4-6-4-security-update/10050


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###