Alert-rule modification via incorrect endpoint permission
Published Sep 26, 2024 · Updated Sep 26, 2024
Incorrect authorization in Grafana 8.5.0 through 11.2.0 allows remote authenticated users to write alert rules through the ruler API. The /api/ruler/{DatasourceUID}/api/v1/rules/{Namespace} endpoint checks permission to write external alert instances instead of permission to write alert rules. The user must already hold the high-privilege external alert-instance write permission; successful requests can alter alerting behavior.
Summary
What happened
Incorrect authorization in Grafana 8.5.0 through 11.2.0 allows remote authenticated users to write alert rules through the ruler API. The /api/ruler/{DatasourceUID}/api/v1/rules/{Namespace} endpoint checks permission to write external alert instances instead of permission to write alert rules. The user must already hold the high-privilege external alert-instance write permission; successful requests can alter alerting behavior.
The record
- CVE
- CVE-2024-8118
- Published
- Sep 26, 2024
- Updated
- Sep 26, 2024
- Vendor
- Grafana Labs
- Product
- Grafana
- Classifications
- CWE-653, T1562.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 26, 2024CVE publishedPublication date reported by the CVE source.
- Sep 26, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=10.4.0 <10.4.9
- Affected versionversion=11.0.0 <11.0.5
- Affected versionversion=11.1.0 <11.1.6
- Affected versionversion=11.2.0 <11.2.1
- Affected versionversion=8.5.0 <10.3.10
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo