GHSA-rgjg-66cx-5x9m
Grafana Authentication Bypass
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/grafana/grafana | < 4.6.4 | 4.6.4 |
| Go | github.com/grafana/grafana | >= 5.0.0, < 5.2.3 | 5.2.3 |
Details
As written in the advisory (Markdown source, shown as plain text).
Grafana 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.
### Specific Go Packages Affected
github.com/grafana/grafana/pkg/api
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2018-15727
- https://github.com/grafana/grafana/commit/7baecf0d0deae0d865e45cf03e082bc0db3f28c3
- https://github.com/grafana/grafana/commit/df83bf10a225811927644bdf6265fa80bdea9137
- https://access.redhat.com/errata/RHSA-2018:3829
- https://access.redhat.com/errata/RHSA-2019:0019
- https://grafana.com/blog/2018/08/29/grafana-5.2.3-and-4.6.4-released-with-important-security-fix
- https://www.securityfocus.com/bid/105184