CVE-2024-31459
A public proof of concept exists; no exploitation attested.
- Published2024-05-14
- Fixed in1.2.27
- WeaknessCWE-98
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, there is a file inclusion issue in the `lib/plugin.php` file. Combined with SQL injection vulnerabilities, remote code execution can be implemented. There is a file inclusion issue with the `api_plugin_hook()` function in the `lib/plugin.php` file, which reads the plugin_hooks and plugin_config tables in database. The read data is directly used to concatenate the file path which is used for file inclusion. 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
16 more package ranges on OSV.dev
Vendor advisories
- CVE-2024-31459 Red Hat Product Security
cacti: multiple vulnerabilities
Fix
- Update Cacti to 1.2.27
Advisories and patches
- github.comVendor Advisory
- github.comVendor Advisory
- 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-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- EUVD-2024-29341same 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:H/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-31459?
Is CVE-2024-31459 actively exploited?
What is the CVSS score for CVE-2024-31459?
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 checks · 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.
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