
CVE catalog
CVE-2024-31460
Cacti vulnerabilities
- Severity
- High · CVSS 8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.79% · Oct 25, 2026
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `automation_tree_rules.php` is not thoroughly checked and is used to concatenate the SQL statement in `create_all_header_nodes()` function from `lib/api_automation.php` , finally resulting in SQL injection. Using SQL based secondary injection technology, attackers can modify the contents of the Cacti database, and based on the modified content, it may be possible to achieve further impact, such as arbitrary file reading, and even remote code execution through arbitrary file writing. Version 1.2.27 contains a patch for the issue.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cacti | sid | 1.2.31+ds1-4 | fixed |
| Debian | cacti | forky | 1.2.31+ds1-4 | fixed |
| Debian | cacti | trixie | 1.2.30+ds1-1 | fixed |
| Debian | cacti | bookworm | 1.2.24+ds1-1+deb12u5 | fixed |
| Debian | cacti | bookworm-security | 1.2.24+ds1-1+deb12u5 | fixed |
| Ubuntu | cacti | noble | 1.2.26+ds1-1ubuntu0.1 | fixed |
| Ubuntu | cacti | pro | 1.1.18+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.27+ds1-2 | vulnerable |
| Ubuntu | cacti | pro | 1.1.27+ds1-3 | vulnerable |
| Ubuntu | cacti | pro | 1.1.28+ds1-2 | vulnerable |
| Ubuntu | cacti | pro | 1.1.35+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.36+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1ubuntu0.1~esm1 | vulnerable |
| Ubuntu | cacti | pro | 1.1.38+ds1-1ubuntu0.1~esm3 | fixed |
| Ubuntu | cacti | 20.04 | 1.2.4+ds1-2ubuntu3 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.9+ds1-1ubuntu1 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.9+ds1-1ubuntu2 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.10+ds1-1ubuntu1 | vulnerable |
| Ubuntu | cacti | 20.04 | 1.2.10+ds1-1ubuntu1.1 | fixed |
| Ubuntu | cacti | 22.04 | 1.2.16+ds1-2ubuntu1 | vulnerable |
| Ubuntu | cacti | 22.04 | 1.2.19+ds1-2ubuntu1 | vulnerable |
| Ubuntu | cacti | 22.04 | 1.2.19+ds1-2ubuntu1.1 | fixed |
| Ubuntu | cacti | 24.04 | 1.2.25+ds1-2 | vulnerable |
| Ubuntu | cacti | 24.04 | 1.2.26+ds1-1 | vulnerable |
| Ubuntu | cacti | 24.04 | 1.2.26+ds1-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cacti | source | sid | 1.2.27+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | cacti | source | forky | 1.2.27+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | cacti | source | trixie | 1.2.27+ds1-1 | not yet assigned | Not reported | Not reported |
| Debian | cacti | source | bookworm | 1.2.24+ds1-1+deb12u3 | not yet assigned | Not reported | Not reported |
| Ubuntu | cacti | deb | noble | 1.2.26+ds1-1ubuntu0.1 | Not reported | Not reported | Not reported |
| Ubuntu | cacti | deb | pro | 1.1.38+ds1-1ubuntu0.1~esm3 | Not reported | UBUNTU-CVE-2024-31460 | Not reported |
| Ubuntu | cacti | deb | 20.04 | 1.2.10+ds1-1ubuntu1.1 | Not reported | UBUNTU-CVE-2024-31460 | Not reported |
| Ubuntu | cacti | deb | 22.04 | 1.2.19+ds1-2ubuntu1.1 | Not reported | UBUNTU-CVE-2024-31460 | Not reported |
| Ubuntu | cacti | deb | 24.04 | 1.2.26+ds1-1ubuntu0.1 | Not reported | UBUNTU-CVE-2024-31460 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_0274-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-31460]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-31460]
- [https://security-tracker.debian.org/tracker/CVE-2024-31460]
- [https://ubuntu.com/security/notices/USN-6969-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1095.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]