8.8
CWE
89
Advisory Published
Updated

CVE-2024-31460: Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database

First published: Mon May 13 2024(Updated: )

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `automation_tree_rules.php` is not thoroughly checked and is used to concatenate the SQL statement in `create_all_header_nodes()` function from `lib/api_automation.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.

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
debian/cacti<=1.2.16+ds1-2+deb11u3<=1.2.24+ds1-1+deb12u2
1.2.16+ds1-2+deb11u4
1.2.24+ds1-1+deb12u4
1.2.27+ds1-2
Cacti<1.2.27
Fedora=39

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203