CVE-2022-35957 Authentication Bypass in Grafana via auth proxy allowing escalation from admin to server admin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Ubuntu
Description
Grafana is an open-source platform for monitoring and observability. Versions prior to 9.1.6 and 8.5.13 are vulnerable to an escalation from admin to server admin when auth proxy is used, allowing an admin to take over the server admin account and gain full control of the grafana instance. All installations should be upgraded as soon as possible. As a workaround deactivate auth proxy following the instructions at: https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/auth-proxy/
Upgrade path
5 packages: 2 fixed, 1 partially fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/grafana(Ubuntu 16.04) | = 2.6.0+dfsg-1; All versions | No fix listed | No fix yet |
| grafana github.com/grafana/grafana(Go) | < 8.5.13; >= 9.0.0, < 9.0.9; >= 9.1.0, < 9.1.6; All versions | 8.5.13, 9.0.9, 9.1.6 | Partially fixed |
| alpine/grafana(Alpine v3.16) | < 8.5.13-r0 | 8.5.13-r0 | Fixed |
| grafana github.com/grafana/grafana | < 8.5.13; = < 8.5.13; = > 9.0.0, < 9.1.6; >= 9.0.0, < 9.0.9 +1 more | 8.5.13, 9.0.9, 9.1.6 | Fixed |
| fedoraproject fedora | = 37 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| grafana github.com/grafana/grafana(Go) | >= 9.1.0, < 9.1.6 | 9.1.6 |
| grafana github.com/grafana/grafana(Go) | >= 9.0.0, < 9.0.9 | 9.0.9 |
| grafana github.com/grafana/grafana(Go) | < 8.5.13 | 8.5.13 |
| grafana github.com/grafana/grafana(Go) | All versions | No fix listed |
| grafana github.com/grafana/grafana | = > 9.0.0, < 9.1.6 | No fix listed |
| grafana github.com/grafana/grafana | = < 8.5.13 | No fix listed |
| grafana github.com/grafana/grafana | < 8.5.13 | 8.5.13 |
| grafana github.com/grafana/grafana | >= 9.0.0, < 9.0.9 | 9.0.9 |
| grafana github.com/grafana/grafana | >= 9.1.0, < 9.1.6 | 9.1.6 |
| fedoraproject fedora | = 37 | No fix listed |
| ubuntu/grafana(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/grafana(Ubuntu:16.04) | = 2.6.0+dfsg-1 | No fix listed |
| alpine/grafana(Alpine:v3.16) | < 8.5.13-r0 | 8.5.13-r0 |
References
- github.com issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- lists.fedoraproject.org
- security.netapp.com third-party-advisory
- github.com
- FEDORA-2022-2eb4418018 vendor-advisory
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking