PT-2024-5186

CVE-2024-25641

·

Published

2024-05-13

·

Updated

2026-09-30

Description by

CVSS 3.1
9.1
Critical
MetricsAV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Cacti versions prior to 1.2.27
Description: Cacti provides an operational monitoring and fault management framework. 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 in the /lib/import.php script. This function blindly trusts the filename and file content provided within the XML data and writes such files into the Cacti base path, potentially leading to the execution of arbitrary PHP code or other security impacts.
Recommendations: For versions prior to 1.2.27, update to version 1.2.27 or later to resolve the issue. As a temporary workaround, consider disabling the import package() function or restricting access to the "Package Import" feature until a patch is applied. Additionally, restrict access to the /lib/import.php script to minimize the risk of exploitation. Avoid using the "Import Templates" permission for non-essential users until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-7CMJ-G5QC-PJ88
ALT-PU-2024-17822
ALT-PU-2025-1813
CLEANSTART-2024-UW33831
DLA-3884-1
OPENSUSE-SU-2024:0274-1
OPENSUSE-SU-2024:0276-1
OPENSUSE-SU-2024:13962-1
USN-6969-1
Found an issue in the description? Have something to add? Feel free to write us 👾