NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

GHSA-mh7p-8m2f-qrm6: Duplicate Advisory: Grafana vulnerable to authorization bypass

mediumCVSS 3.1 6.5

This advisory was withdrawn on Apr 5, 2024. The publisher no longer considers it a valid vulnerability.

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/ using its view key.

Published Mar 26, 2024 · Updated Jun 10, 2024

Affected packages

github.com/grafana/grafana

Ecosystem
Go
Affected
>= 9.5.0, < 9.5.18
Fixed in
9.5.18
Check
go list -m github.com/grafana/grafana

github.com/grafana/grafana

Ecosystem
Go
Affected
>= 10.0.0, < 10.0.13
Fixed in
10.0.13
Check
go list -m github.com/grafana/grafana

github.com/grafana/grafana

Ecosystem
Go
Affected
>= 10.1.0, < 10.1.9
Fixed in
10.1.9
Check
go list -m github.com/grafana/grafana

github.com/grafana/grafana

Ecosystem
Go
Affected
>= 10.2.0, < 10.2.6
Fixed in
10.2.6
Check
go list -m github.com/grafana/grafana

github.com/grafana/grafana

Ecosystem
Go
Affected
>= 10.3.0, < 10.3.5
Fixed in
10.3.5
Check
go list -m github.com/grafana/grafana

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries