CVE-2024-31458
CVE-2024-31458 is a medium-severity vulnerability in Cacti with a CVSS 3.x base score of 4.6. Its EPSS exploit-prediction score of 13% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-89.
Key facts
- Severity: Medium (CVSS 3.x base score 4.6)
- EPSS exploit prediction: 13% (96th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-29340
- Weakness: CWE-89
- Affected product: Cacti
- Published:
- Last modified:
Description
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `form_save()` function in `graph_template_inputs.php` is not thoroughly checked and is used to concatenate the SQL statement in `draw_nontemplated_fields_graph_item()` function from `lib/html_form_templates.php` , finally resulting in SQL injection. Version 1.2.27 contains a patch for the issue.
Frequently asked questions
- What is CVE-2024-31458?
- Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `form_save()` function in `graph_template_inputs.php` is not thoroughly checked and is used to concatenate the SQL statement in `draw_nontemplated_fields_graph_item()` function from `lib/html_form_templates.php` , finally resulting in SQL injection. Version 1.2.27 contains a patch for the issue.
- How severe is CVE-2024-31458?
- CVE-2024-31458 has a CVSS 3.x base score of 4.6, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is none, integrity low, and availability low.
- Is CVE-2024-31458 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 13% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-31458?
- CVE-2024-31458 primarily affects Cacti. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-31458?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-31458 have an EU (EUVD) identifier?
- Yes. CVE-2024-31458 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-29340.
- When was CVE-2024-31458 published?
- CVE-2024-31458 was published on 2024-05-14 and last updated on 2026-06-17.
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-jrxg-8wh8-943x
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html
Affected products (2)
- cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
More vulnerabilities in Cacti
- CVE-2026-40079 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior are vulnerable to Command…
- CVE-2026-39955 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have pre-authentication…
- CVE-2026-39948 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. In versions 1.2.30 and prior, the rfilter request…
- CVE-2026-39938 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. Versions 1.2.30 and prior have unauthenticated LFI…
- CVE-2026-39893 — Critical (CVSS 9.8): Cacti is an open source performance and fault management framework. In versions 1.2.30 and prior, the rfilter request…
- CVE-2023-39361 — Critical (CVSS 9.8): Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a SQL…
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…