Skip to content

Duplicate Advisory: Grafana vulnerable to authorization bypass

Moderate severity GitHub Reviewed Published Mar 26, 2024 to the GitHub Advisory Database • Updated Jun 10, 2024
Withdrawn This advisory was withdrawn on Apr 5, 2024

Package

gomod github.com/grafana/grafana (Go)

Affected versions

>= 9.5.0, < 9.5.18
>= 10.0.0, < 10.0.13
>= 10.1.0, < 10.1.9
>= 10.2.0, < 10.2.6
>= 10.3.0, < 10.3.5

Patched versions

9.5.18
10.0.13
10.1.9
10.2.6
10.3.5

Description

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-67rv-qpw2-6qrr. This link is maintained to preserve external references.

Original Description

It is possible for a user in a different organization from the owner of a snapshot to bypass authorization and delete a snapshot by issuing a DELETE request to /api/snapshots/<key> using its view key. This functionality is intended to only be available to individuals with the permission to write/edit to the snapshot in question, but due to a bug in the authorization logic, deletion requests issued by an unprivileged user in a different organization than the snapshot owner are treated as authorized.

Grafana Labs would like to thank Ravid Mazon and Jay Chen of Palo Alto Research for discovering and disclosing this vulnerability.

This issue affects Grafana: from 9.5.0 before 9.5.18, from 10.0.0 before 10.0.13, from 10.1.0 before 10.1.9, from 10.2.0 before 10.2.6, from 10.3.0 before 10.3.5.

References

Published by the National Vulnerability Database Mar 26, 2024
Published to the GitHub Advisory Database Mar 26, 2024
Reviewed Mar 27, 2024
Withdrawn Apr 5, 2024
Last updated Jun 10, 2024

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-mh7p-8m2f-qrm6

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.