High severity8.8NVD Advisory· Published May 14, 2024· Updated Jun 17, 2026
CVE-2024-31445
CVE-2024-31445
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
15<1.2.27+ 2 more
- (no CPE)range: <1.2.27
- (no CPE)range: < 1.2.27
- cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*range: <1.2.27
- osv-coords11 versionspkg:rpm/opensuse/cacti&distro=openSUSE%20Tumbleweedpkg:rpm/suse/cacti&distro=SUSE%20Package%20Hub%2012pkg:rpm/suse/cacti-spine&distro=SUSE%20Package%20Hub%2012pkg:rpm/suse/cacti&distro=SUSE%20Package%20Hub%2015%20SP5pkg:rpm/suse/cacti-spine&distro=SUSE%20Package%20Hub%2015%20SP5pkg:rpm/opensuse/cacti&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/cacti-spine&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/cacti-spine&distro=openSUSE%20Leap%2015.6pkg:rpm/suse/cacti&distro=SUSE%20Package%20Hub%2015%20SP6pkg:rpm/suse/cacti-spine&distro=SUSE%20Package%20Hub%2015%20SP6pkg:rpm/opensuse/cacti&distro=openSUSE%20Leap%2015.6
< 1.2.27-1.1+ 10 more
- (no CPE)range: < 1.2.27-1.1
- (no CPE)range: < 1.2.27-bp155.2.9.1
- (no CPE)range: < 1.2.27-bp155.2.9.1
- (no CPE)range: < 1.2.27-bp155.2.9.1
- (no CPE)range: < 1.2.27-bp155.2.9.1
- (no CPE)range: < 1.2.27-bp155.2.9.1
- (no CPE)range: < 1.2.27-bp155.2.9.1
- (no CPE)range: < 1.2.27-bp156.2.3.1
- (no CPE)range: < 1.2.27-bp156.2.3.1
- (no CPE)range: < 1.2.27-bp156.2.3.1
- (no CPE)range: < 1.2.27-bp156.2.3.1
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
6- github.com/Cacti/cacti/commit/fd93c6e47651958b77c3bbe6a01fff695f81e886nvdPatch
- github.com/Cacti/cacti/security/advisories/GHSA-vjph-r677-6pccnvdExploitVendor Advisory
- github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/lib/api_automation.phpnvdProduct
- github.com/Cacti/cacti/blob/501712998589763d411a68d35e3cda98fd9cfd18/lib/api_automation.phpnvdProduct
- lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/nvdProduct
- lists.debian.org/debian-lts-announce/2024/09/msg00027.htmlnvd
News mentions
0No linked articles in our index yet.