What’s Vulnerable › Vulnerabilities

CVE-2024-31458: Cacti SQL Injection vulnerability in lib/html_form_templates.php by reading dirty data stored in database

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.

Affected products

How to fix

Upgrade to a fixed version: cacti 1.2.27. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-31458 or the next vulnerability affects your stack