
CVE catalog
CVE-2024-31445
Cacti vulnerabilities
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.
- 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
- 26.15% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "cacti",
"status": "fixed",
"release": "sid",
"version": "1.2.31+ds1-4"
},
{
"name": "cacti",
"status": "fixed",
"release": "forky",
"version": "1.2.31+ds1-4"
},
{
"name": "cacti",
"status": "fixed",
"release": "trixie",
"version": "1.2.30+ds1-1"
},
{
"name": "cacti",
"status": "fixed",
"release": "bookworm",
"version": "1.2.24+ds1-1+deb12u5"
},
{
"name": "cacti",
"status": "fixed",
"release": "bookworm-security",
"version": "1.2.24+ds1-1+deb12u5"
}
],
"fixed_versions": [
{
"bug": null,
"name": "cacti",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.2.27+ds1-1"
},
{
"bug": null,
"name": "cacti",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.2.27+ds1-1"
},
{
"bug": null,
"name": "cacti",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1.2.27+ds1-1"
},
{
"bug": null,
"name": "cacti",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "1.2.24+ds1-1+deb12u3"
}
],
"distribution_packages": [
{
"name": "cacti",
"distro": "ubuntu",
"release": "noble",
"ecosystem": "deb",
"fixed_version": "1.2.26+ds1-1ubuntu0.1"
},
{
"name": "cacti",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.38+ds1-1ubuntu0.1~esm3"
}
]
}
],
"release": "pro",
"versions": [
"1.1.18+ds1-1",
"1.1.27+ds1-2",
"1.1.27+ds1-3",
"1.1.28+ds1-2",
"1.1.35+ds1-1",
"1.1.36+ds1-1",
"1.1.38+ds1-1",
"1.1.38+ds1-1ubuntu0.1~esm1"
],
"ecosystem": "deb",
"fixed_version": "1.1.38+ds1-1ubuntu0.1~esm3",
"provider_record_id": "UBUNTU-CVE-2024-31445"
},
{
"name": "cacti",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.10+ds1-1ubuntu1.1"
}
]
}
],
"release": "20.04",
"versions": [
"1.2.4+ds1-2ubuntu3",
"1.2.9+ds1-1ubuntu1",
"1.2.9+ds1-1ubuntu2",
"1.2.10+ds1-1ubuntu1"
],
"ecosystem": "deb",
"fixed_version": "1.2.10+ds1-1ubuntu1.1",
"provider_record_id": "UBUNTU-CVE-2024-31445"
},
{
"name": "cacti",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.19+ds1-2ubuntu1.1"
}
]
}
],
"release": "22.04",
"versions": [
"1.2.16+ds1-2ubuntu1",
"1.2.19+ds1-2ubuntu1"
],
"ecosystem": "deb",
"fixed_version": "1.2.19+ds1-2ubuntu1.1",
"provider_record_id": "UBUNTU-CVE-2024-31445"
},
{
"name": "cacti",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.26+ds1-1ubuntu0.1"
}
]
}
],
"release": "24.04",
"versions": [
"1.2.25+ds1-2",
"1.2.26+ds1-1"
],
"ecosystem": "deb",
"fixed_version": "1.2.26+ds1-1ubuntu0.1",
"provider_record_id": "UBUNTU-CVE-2024-31445"
}
]
}OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [cacti]Unknown
Details (4)
1.2.24+ds1-1+deb12u5· all · bookwormFixed · Fixed:
1.2.24+ds1-1+deb12u3usn · cacti · debian · bookworm; usn · cacti · debian · 12
1.2.24+ds1-1+deb12u5· all · bookwormFixed · Fixed:
1.2.24+ds1-1+deb12u3usn · cacti · debian · bookworm; usn · cacti · debian · 12
1.2.24+ds1-1+deb12u5· all · bookworm-securityFixed · Fixed:
1.2.24+ds1-1+deb12u3usn · cacti · debian · bookworm; usn · cacti · debian · 12
1.2.24+ds1-1+deb12u5· all · bookworm-securityFixed · Fixed:
1.2.24+ds1-1+deb12u3usn · cacti · debian · bookworm; usn · cacti · debian · 12
[Debian 13 (Trixie)]
- [cacti]Unknown
Details (2)
1.2.30+ds1-1· all · trixieFixed · Fixed:
1.2.27+ds1-1usn · cacti · debian · 13
1.2.30+ds1-1· all · trixieFixed · Fixed:
1.2.27+ds1-1usn · cacti · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_0274-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-31445]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-31445]
- [https://security-tracker.debian.org/tracker/CVE-2024-31445]
- [https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-31445.json]
- [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] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]