CVE-2024-1313

Aliases:GHSA-67rv-qpw2-6qrrBIT-grafana-2024-1313GO-2024-2697
Deferred
Published: 26 Mar 2024, 17:24
Last modified:13 Feb 2025, 17:27

Vulnerability Summary

Overall Risk (default)
medium
26/100
CVSS Score
6.5 MEDIUM
v3.1 (cve.org)
EPSS Score
0.03% LOW
0% probability +0.01%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

26 Mar 2024, 17:24
Published
Vulnerability first disclosed
13 Feb 2025, 17:27
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0HIGHScore: 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
  • v3.1MEDIUMScore: 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

EPSS Trends

Current EPSS score: 0.03% Percentile: 10%

Techniques & Countermeasures

  • CWE-639Authorization Bypass Through User-Controlled Key

    The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Affected Systems

  • github.com/grafanagrafana

    ≥ 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 | all

  • grafanagrafana

    ≥ 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

References (6)