9.1

CVE-2024-25641: cacti Improper Input Validation

CVSS: 9.1v3.1CriticalModified
AliasesUBUNTU-CVE-2024-25641DEBIAN-CVE-2024-25641GHSA-7cmj-g5qc-pj88
Published 13-05-2024Last modified 04-11-2025

Vulnerability summary

CVE-2024-25641 is a critical (CVSS 9.1) Improper Input Validation vulnerability in cacti. EPSS estimates a 86.30% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.1/10
010
Critical · v3.1 (CVE.org)
EPSS score
86.30%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3github, metasploit, exploit-database

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, an arbitrary file write vulnerability, exploitable through the "Package Import" feature, allows authenticated users having the "Import Templates" permission to execute arbitrary PHP code on the web server. The vulnerability is located within the `import_package()` function defined into the `/lib/import.php` script. The function blindly trusts the filename and file content provided within the XML data, and writes such files into the Cacti base path (or even outside, since path traversal sequences are not filtered). This can be exploited to write or overwrite arbitrary files on the web server, leading to execution of arbitrary PHP code or other security impacts. Version 1.2.27 contains a patch for this issue.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

86.30%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 86.30% on 21-09-2026

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

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • githubUnverified

    Cacti

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Cacti Import Packages RCE

    exploit/multi/http/cacti_package_import_rce

    Maturity: weaponized

  • exploit-databasephpUnverified

    Cacti 1.2.26 - Remote Code Execution (RCE) (Authenticated)

    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

9 links