CVE-2024-25641
highpriority · attend · 69EPSS 0.863 · 100 %ileexploit · weaponizedDEEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.2–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (9)
Public proof-of-concept and weaponised exploit code.
- exploit/multi/http/cacti_package_import_rceCacti Import Packages RCEweaponized · metasploit
- D3Ext/CVE-2024-25641POC exploit for CVE-2024-25641PoC · poc_in_github
- GabrielCF10/CVE-2024-25641---CactiCacti exploitPoC · poc_in_github
affected products (11)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1095Cacti: Mehrere SchwachstellenDeutsch2024-05-12csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Cacti ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Code auszuführen oder und SQL-Injection oder Cross-Site-Scripting Angriffe durchzuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-25641/cnnvd
- https://cxsecurity.com/issue/WLB-2025040020cnnvd
- https://github.com/Cacti/cacti/commit/eff35b0ff26cc27c82d7880469ed6d5e3bef6210cnnvd
- https://github.com/Cacti/cacti/security/advisories/GHSA-7cmj-g5qc-pj88cnnvd
- https://vigilance.fr/vulnerability/Cacti-multiple-vulnerabilities-dated-13-05-2024-44262cnnvd
- https://www.exploit-db.com/exploits/52225cnnvd
- http://seclists.org/fulldisclosure/2024/May/6enisa_euvd
- https://github.com/Cacti/cacti/commit/eff35b0ff26cc27c82d7880469ed6d5e3bef6210enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan