CVE-2024-31445: SQL Injection vulnerability in automation_get_new_graphs_sql

Published May 13, 2024
·
Updated

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, a SQL injection vulnerability in automationgetnewgraphssql function of apiautomation.php allows authenticated users to exploit these SQL injection vulnerabilities to perform privilege escalation and remote code execution. In apiautomation.php line 856, the getrequestvar('filter') is being concatenated into the SQL statement without any sanitization. In apiautomation.php line 717, The filter of 'filter' is FILTERDEFAULT, which means there is no filter for it. Version 1.2.27 contains a patch for the issue.

Affected Software

3 affected componentsFixes available
debian/cacti<=1.2.16+ds1-2+deb11u3, <=1.2.24+ds1-1+deb12u2
1.2.16+ds1-2+deb11u41.2.24+ds1-1+deb12u41.2.27+ds1-2
Cacti<1.2.27
fedoraproject fedora=39

Event History

May 13, 2024
CVE Published
via MITRE·03:05 PM
Data Sourced
via MITRE·03:05 PM
DescriptionSeverityWeakness
May 14, 2024
Data Sourced
via NVD·03:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:25 PM
RemedyAffected Software
Aug 20, 2024
Data Sourced
via Launchpad·02:19 PM
Description
Sep 13, 2024
Data Sourced
via Ubuntu·02:22 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-31445?

CVE-2024-31445 is classified as a medium severity SQL injection vulnerability that affects specific versions of Cacti.

2

How do I fix CVE-2024-31445?

To resolve CVE-2024-31445, update Cacti to version 1.2.27 or later.

3

Who is affected by CVE-2024-31445?

CVE-2024-31445 affects authenticated users of Cacti versions prior to 1.2.27.

4

What kind of attack can CVE-2024-31445 facilitate?

CVE-2024-31445 can allow authenticated users to execute arbitrary SQL queries, potentially compromising the database.

5

When was CVE-2024-31445 discovered?

CVE-2024-31445 was identified in the Cacti framework before the release of version 1.2.27.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203