Jay Chen

#1513of 53,633
147.5Total CVSS
Vulnerabilities · 17
Medium
1
High
7
Critical
9
PT-2024-3766
7.1
2024-03-26
Grafana · Grafana · CVE-2024-1313
**Name of the Vulnerable Software and Affected Versions** Grafana versions 9.5.0 through 9.5.17 Grafana versions 10.0.0 through 10.0.12 Grafana versions 10.1.0 through 10.1.8 Grafana versions 10.2.0 through 10.2.5 Grafana versions 10.3.0 through 10.3.4 **Description** The issue is related to a Broken Object-Level Authorization (BOLA) vulnerability, which allows low-privileged users to delete dashboard snapshots belonging to other organizations using the snapshot's key. This can be done by issuing a DELETE request to the `/api/snapshots/<key>` endpoint. The vulnerability is caused by a bug in the authorization logic, which treats deletion requests from unprivileged users in different organizations as authorized. Technical details about exploitation include: - **API Endpoint:** `/api/snapshots/<key>` - **Vulnerable Parameter or Variable:** `key` - The attacker must know the `key` of a snapshot to exploit this vulnerability. The `key` can be discovered in various ways, such as being displayed in plain text in the URL of a snapshot or being guessed through brute-force attacks due to a lack of complexity requirements. **Recommendations** To resolve the issue for each affected version, update to the respective fixed version or later: - For versions 9.5.0 through 9.5.17, update to version 9.5.18 or later. - For versions 10.0.0 through 10.0.12, update to version 10.0.13 or later. - For versions 10.1.0 through 10.1.8, update to version 10.1.9 or later. - For versions 10.2.0 through 10.2.5, update to version 10.2.6 or later. - For versions 10.3.0 through 10.3.4, update to version 10.3.5 or later. As a temporary workaround, consider restricting access to the `/api/snapshots/<key>` endpoint to minimize the risk of exploitation.