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 `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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How 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 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-31458 has a moderate severity level due to its potential for SQL injection vulnerabilities.
To mitigate CVE-2024-31458, upgrade to Cacti version 1.2.27 or higher.
CVE-2024-31458 affects Cacti versions prior to 1.2.27, including 1.2.16+ds1-2+deb11u3 and 1.2.24+ds1-1+deb12u2.
The vulnerability resides in the `form_save()` function within `graph_template_inputs.php`, where the data lacks proper validation.
CVE-2024-31458 affects multiple operating systems including Debian and Fedora systems running vulnerable versions of Cacti.