CVE-2024-31458

Medium

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.

SeverityMedium
CVSS4.6
Exploit probability—
ProductCacti
PublishedMay 14, 2024
First seenMay 14, 2024
Weakness typeCWE-89SQL injection

How to fix

Update
  • cacti cacti1.2.27 or later

Affected products

ProductAffected versionsFixed in
cacti cactiv < 1.2.271.2.27
fedoraproject fedora39—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.