Remote code execution via Log Poisoning in Cacti
Summary
Remote code execution via Log Poisoning in Cacti
Original description
The description as published by the source.
Cacti is an open source performance and fault management framework. An admin user can create a device with a malicious hostname containing php code and repeat the installation process (completing only step 5 of the installation process is enough, no need to complete the steps before or after it) to use a php file as the cacti log file. After having the malicious hostname end up in the logs (log poisoning), one can simply go to the log file url to execute commands to achieve RCE. This issue has been addressed in version 1.2.28 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-43363 cacti Fixed in: 1.2.16+ds1-2+deb11u5
- Ubuntu UBUNTU-CVE-2024-43363 cacti
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web lists.debian.org