CVE-2024-1313

Users outside an organization can delete a snapshot with its key

State
Published
Severity
6.5 Medium
Published
Mar 26, 2024
Updated
Feb 13, 2025
Reserved
Feb 7, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NGRAFANA

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
GrafanaGrafana
  • 9.5.0 to before 9.5.18Affected
  • 10.0.0 to before 10.0.13Affected
  • 10.1.0 to before 10.1.9Affected
  • 10.2.0 to before 10.2.6Affected
  • 10.3.0 to before 10.3.5Affected
  • 10.4.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.