cve.bz

CVE-2024-31445 SQL Injection

8.8 highExploit referenceEPSS 26%Fix available

High (8.8). EPSS 26% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
26% (unchanged from 26% a week ago; 26% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2024-05-17. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31445 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31445?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31445?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31445 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cacti:cactibefore 1.2.27
fedoraproject:fedora39

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11cacti1.2.16+ds1-2+deb11u4DLA-3884-1
Debian12cacti1.2.24+ds1-1+deb12u3DEBIAN-CVE-2024-31445
Debian13, 14cacti1.2.27+ds1-1DEBIAN-CVE-2024-31445
Ubuntu20.04:LTScacti1.2.10+ds1-1ubuntu1.1UBUNTU-CVE-2024-31445 USN-6969-1
Ubuntu22.04:LTScacti1.2.19+ds1-2ubuntu1.1UBUNTU-CVE-2024-31445 USN-6969-1
Ubuntu24.04:LTScacti1.2.26+ds1-1ubuntu0.1UBUNTU-CVE-2024-31445 USN-6969-1
UbuntuPro:14.04:LTScacti0.8.8b+dfsg-5ubuntu0.2+esm2USN-6969-1
UbuntuPro:16.04:LTScacti0.8.8f+ds1-4ubuntu4.16.04.2+esm2USN-6969-1
UbuntuPro:18.04:LTScacti1.1.38+ds1-1ubuntu0.1~esm3UBUNTU-CVE-2024-31445 USN-6969-1
SUSEPackage Hub 12, Package Hub 15 SP5cacti, cacti-spine1.2.27-bp155.2.9.1openSUSE-SU-2024:0274-1
SUSEPackage Hub 15 SP6cacti, cacti-spine1.2.27-bp156.2.3.1openSUSE-SU-2024:0276-1
openSUSELeap 15.5cacti, cacti-spine1.2.27-bp155.2.9.1openSUSE-SU-2024:0274-1
openSUSELeap 15.6cacti, cacti-spine1.2.27-bp156.2.3.1openSUSE-SU-2024:0276-1
openSUSETumbleweedcacti1.2.27-1.1openSUSE-SU-2024:13962-1
Alpinev3.19, v3.20, v3.21 and 3 morecacti1.2.27-r0ALPINE-CVE-2024-31445

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON