cbcvebase.
CVE-2018-15727
published 2018-08-29

CVE-2018-15727: Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generate a valid "remember me" cookie knowing…

PriorityP273critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
64.28%
99.1th percentile
Grafana 2.x, 3.x, and 4.x before 4.6.4 and 5.x before 5.2.3 allows authentication bypass because an attacker can generate a valid "remember me" cookie knowing only a username of an LDAP or OAuth user.

Affected

9 ranges
VendorProductVersion rangeFixed in
github.comgrafana_grafana>= 0 < 4.6.4+incompatible4.6.4+incompatible
github.comgrafana_grafana>= 0 < 4.6.44.6.4
github.comgrafana_grafana>= 5.0.0 < 5.2.35.2.3
github.comgrafana_grafana>= 5.0.0+incompatible < 5.2.3+incompatible5.2.3+incompatible
grafanagrafana2.0.0 – 2.1.2
grafanagrafana3.0.0 – 3.1.1
grafanagrafana>= 4.0.0 < 4.6.44.6.4
grafanagrafana>= 5.0.0 < 5.2.35.2.3
redhatceph_storage

Detection & IOCsextracted from sources · hover to see the quote

cookieremember me cookie forged using only LDAP/OAuth username
  • Monitor for authentication sessions established via forged 'remember me' cookies for LDAP or OAuth-backed Grafana users, particularly where no corresponding interactive login event exists.
  • Patch commits for the vulnerability are available for code-level review: 5.2.x fix at commit df83bf10a225811927644bdf6265fa80bdea9137 and 4.6.x fix at commit 7baecf0d0deae0d865e45cf03e082bc0db3f28c3 on the Grafana GitHub repository.
  • ·Vulnerability only affects Grafana instances configured to use LDAP or OAuth authentication; deployments using other authentication mechanisms are not affected.
  • ·Affected versions are Grafana 2.x, 3.x, 4.x before 4.6.4, and 5.x before 5.2.3; upgrade to 4.6.4 or 5.2.3 to remediate.
  • ·Upstream recommends switching to a non-LDAP/OAuth authentication mechanism or isolating Grafana from public networks as interim mitigations.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.