GHSA-mh7p-8m2f-qrm6

Source
https://github.com/advisories/GHSA-mh7p-8m2f-qrm6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-mh7p-8m2f-qrm6/GHSA-mh7p-8m2f-qrm6.json
Withdrawn
2024-04-05T19:30:35Z
Published
2024-03-26T18:32:07Z
Modified
2024-04-05T19:30:35Z
Details

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

Affected packages

Go / github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
9.5.0
Fixed
9.5.18

Go / github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
10.0.0
Fixed
10.0.13

Go / github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
10.1.0
Fixed
10.1.9

Go / github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
10.2.0
Fixed
10.2.6

Go / github.com/grafana/grafana

Affected ranges

Type
SEMVER
Events
Introduced
10.3.0
Fixed
10.3.5