CVE-2024-25641
Last modified
CVE-2024-25641 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 86.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cacti | Cacti | < 1.2.27 |
| Fedoraproject | Fedora | 39 |
References
- http://seclists.org/fulldisclosure/2024/May/6Mailing List, Third Party Advisory
- https://github.com/Cacti/cacti/security/advisories/GHSA-7cmj-g5qc-pj88Exploit, Vendor Advisory
- http://seclists.org/fulldisclosure/2024/May/6Mailing List, Third Party Advisory
- https://github.com/Cacti/cacti/security/advisories/GHSA-7cmj-g5qc-pj88Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-25641?
How severe is CVE-2024-25641?
How do I fix CVE-2024-25641?
Are you affected by CVE-2024-25641?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
