CVE-2024-31460: Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in automationtreerules.php is not thoroughly checked and is used to concatenate the SQL statement in createallheadernodes() function from lib/apiautomation.php , finally resulting in SQL injection. Using SQL based secondary injection technology, attackers can modify the contents of the Cacti database, and based on the modified content, it may be possible to achieve further impact, such as arbitrary file reading, and even remote code execution through arbitrary file writing. Version 1.2.27 contains a patch for the issue.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-31460?
CVE-2024-31460 has been classified with a moderate severity level due to its potential impact on SQL injection vulnerabilities.
How do I fix CVE-2024-31460?
To remediate CVE-2024-31460, upgrade Cacti to version 1.2.27 or later.
Which versions of Cacti are affected by CVE-2024-31460?
CVE-2024-31460 affects Cacti versions prior to 1.2.27.
Is CVE-2024-31460 related to SQL injection vulnerabilities?
Yes, CVE-2024-31460 involves insufficient validation leading to potential SQL injection vulnerabilities.
What is the impact of CVE-2024-31460?
The impact of CVE-2024-31460 may allow an attacker to manipulate SQL queries, potentially leading to unauthorized data access.