CVE-2024-31445
A public proof of concept exists; no exploitation attested.
- Published2024-05-14
- Fixed in1.2.27
- WeaknessCWE-89
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, a SQL injection vulnerability in `automation_get_new_graphs_sql` function of `api_automation.php` allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. In `api_automation.php` line 856, the `get_request_var('filter')` is being concatenated into the SQL statement without any sanitization. In `api_automation.php` line 717, The filter of `'filter'` is `FILTER_DEFAULT`, which means there is no filter for it. Version 1.2.27 contains a patch for the issue.
Timeline
dates in UTC- 2024-05-1415:25CVE publishedNVD
Versions per branch
NVD · CISA-ADP| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.2 | < 1.2.27 | 1.2.27 | NVD |
| 1.2 | ≥ -, < 1.2.27 | 1.2.27 | CISA-ADP |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 39.x | = 39 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- cactiAffected
- = < 1.2.27no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-06-10
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- cactiUbuntu:Pro:18.04:LTSall versions · fixed in 1.1.38+ds1-1ubuntu0.1~esm3
- cactiUbuntu:Pro:16.04:LTSall versions · fixed in 0.8.8f+ds1-4ubuntu4.16.04.2+esm2
- cactiUbuntu:Pro:14.04:LTSall versions · fixed in 0.8.8b+dfsg-5ubuntu0.2+esm2
- cactiUbuntu:24.04:LTSall versions · fixed in 1.2.26+ds1-1ubuntu0.1
- cactiUbuntu:22.04:LTSall versions · fixed in 1.2.19+ds1-2ubuntu1.1
- cactiUbuntu:20.04:LTSall versions · fixed in 1.2.10+ds1-1ubuntu1.1
- cactiSUSE:Package Hub 15 SP6all versions · fixed in 1.2.27-bp156.2.3.1and 1 other package
- cactiSUSE:Package Hub 15 SP5all versions · fixed in 1.2.27-bp155.2.9.1and 1 other package
15 more package ranges on OSV.dev
Vendor advisories
- CVE-2024-31445 Red Hat Product Security
cacti: multiple vulnerabilties
Fix
- Update Cacti to 1.2.27
Advisories and patches
- github.comPatch
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-05-17
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- EUVD-2024-29334same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- DLA-3884-1advisory covering several CVEsDebian · LicenseRef-unstated
- openSUSE-SU-2024:0274-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:0276-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13962-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-6969-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-05-14
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2024-31445?
Is CVE-2024-31445 actively exploited?
What is the CVSS score for CVE-2024-31445?
Running cacti? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2022-46169KEVsame product
- CVE-2024-29895same productCacti command injection in cmd_realtime.php
- CVE-2023-39361same product
- CVE-2024-25641same productCacti RCE vulnerability when importing packages
- CVE-2020-14295same product
- CVE-2023-39362same product
- CVE-2023-49085same product
- CVE-2020-8813same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0