Skip to content

CVE-2024-1313 Users outside an organization can delete a snapshot with its key

MediumCVSS 6.5 EPSS 0.65%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

3 packages: 1 fixed, 1 partially fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/grafana(Ubuntu 16.04) = 2.6.0+dfsg-1; All versions No fix listed No fix yet
grafana github.com/grafana/grafana(Go) >= 9.5.0, < 9.5.18; >= 10.0.0, < 10.0.13; >= 10.1.0, < 10.1.9; >= 10.2.0, < 10.2.6 +2 more 9.5.18, 10.0.13, 10.1.9, 10.2.6, 10.3.5 Partially fixed
grafana github.com/grafana/grafana >= 9.5.0, < 9.5.18; >= 10.0.0, < 10.0.13; >= 10.1.0, < 10.1.9; >= 10.2.0, < 10.2.6 +1 more 9.5.18, 10.0.13, 10.1.9, 10.2.6, 10.3.5 Fixed

Affected products

ProductAffected versionsFixed in
grafana github.com/grafana/grafana(Go) >= 9.5.0, < 9.5.18 9.5.18
grafana github.com/grafana/grafana(Go) >= 10.0.0, < 10.0.13 10.0.13
grafana github.com/grafana/grafana(Go) >= 10.1.0, < 10.1.9 10.1.9
grafana github.com/grafana/grafana(Go) >= 10.2.0, < 10.2.6 10.2.6
grafana github.com/grafana/grafana(Go) >= 10.3.0, < 10.3.5 10.3.5
grafana github.com/grafana/grafana(Go) All versions No fix listed
grafana github.com/grafana/grafana >= 9.5.0, < 9.5.18 9.5.18
grafana github.com/grafana/grafana >= 10.0.0, < 10.0.13 10.0.13
grafana github.com/grafana/grafana >= 10.1.0, < 10.1.9 10.1.9
grafana github.com/grafana/grafana >= 10.2.0, < 10.2.6 10.2.6
grafana github.com/grafana/grafana >= 10.3.0, < 10.3.5 10.3.5
ubuntu/grafana(Ubuntu:16.04) All versions No fix listed
ubuntu/grafana(Ubuntu:16.04) = 2.6.0+dfsg-1 No fix listed

References