8.8

CVE-2024-31460: cacti SQL Injection

CVSS: 8.8v3.1HighModified
AliasesUBUNTU-CVE-2024-31460DEBIAN-CVE-2024-31460
Published 13-05-2024Last modified 04-11-2025

Vulnerability summary

CVE-2024-31460 is a high (CVSS 8.8) SQL Injection vulnerability in cacti. EPSS estimates a 1.79% chance of exploitation in the next 30 days, higher than 78.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
46/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
1.79%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 5 · Related 4

Timeline

  1. 13-05-2024
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

1.79%

Chance of exploitation in the next 30 days

Percentile

78%

Versus all other CVEs

30-day change

0.00 pp

From 1.79% on 21-09-2026

21-09-202621-10-2026
EPSS score
1.79%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Cacti

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Cacti1 product
Debian1 product
  • cacti< 1.2.24+ds1-1+deb12u3 | < 1.2.27+ds1-1
Fedoraproject1 product
Ubuntu1 product
  • cacti< 1.1.38+ds1-1ubuntu0.1~esm3 | < 1.2.10+ds1-1ubuntu1.1 | < 1.2.19+ds1-2ubuntu1.1 | < 1.2.26+ds1-1ubuntu0.1

4 vendors · 4 products

References

8 links