CVE-2024-31460CWE-89

Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database

Medium · published May 13, 2024

CVSS v3.1
6.5
EPSS
2%
Percentile
78.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01791 · 78.2th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-05-13T15:14Z
EPSS history
Timeline
  • 13 MAY 15:14Z
    Cacti SQL Injection vulnerability in lib/api_automation.php caused by reading dirty data stored in database
    cvelistv5