Improper input validation in Cacti

CVE-2024-25641

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.863 (99.7th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-25641: held from 0.863 to 0.863.

EPSS over last 30 days · oldest: 0.863 · newest: 0.863 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-25641?
CVE-2024-25641 is a critical-severity vulnerability in Cacti, classified under Improper Input Validation. CVSS score: 9.1/10. Published 2024-05-14.
How severe is CVE-2024-25641?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2024-25641 known to be exploited?
15 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.