CVE-2024-25641

Cacti RCE vulnerability when importing packages

Published May 13, 2024 CVSS 3.1 · 9.1 Critical EPSS 86.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3884-1 cacti security update
Ubuntu USN Ubuntu USN USN-6969-1 Cacti vulnerabilities
History
Type Values Removed Values Added
First Time appeared The Cacti Group
The Cacti Group cacti
CPEs cpe:2.3:a:the_cacti_group:cacti:*:*:*:*:*:*:*:*
Vendors & Products The Cacti Group
The Cacti Group cacti
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cacti
Cacti cacti
Fedoraproject
Fedoraproject fedora
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
Vendors & Products Cacti
Cacti cacti
Fedoraproject
Fedoraproject fedora
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2025, 4:11 PM
Reserved
Feb 8, 2024, 10:26 PM
Status
Modified
Published
May 14, 2024, 3:05 PM
Modified
Jun 17, 2026, 7:16 AM