Skip to content

CVE-2024-43363 Remote code execution via Log Poisoning in Cacti

HighCVSS 7.2 EPSS 35.6%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
debian/cacti(Debian:12) < 1.2.24+ds1-1+deb12u5 1.2.24+ds1-1+deb12u5
debian/cacti(Debian:12) = 1.2.24+ds1-1 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u1 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u2 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u3 No fix listed
debian/cacti(Debian:12) = 1.2.24+ds1-1+deb12u4 No fix listed
debian/cacti(Debian:13) < 1.2.28+ds1-1 1.2.28+ds1-1
debian/cacti(Debian:14) < 1.2.28+ds1-1 1.2.28+ds1-1
ubuntu/cacti(Ubuntu:22.04) All versions No fix listed
cacti = < 1.2.28 No fix listed
cacti < 1.2.28 1.2.28
alpine/cacti(Alpine:v3.20) < 1.2.28-r0 1.2.28-r0
alpine/cacti(Alpine:v3.21) < 1.2.28-r0 1.2.28-r0
alpine/cacti(Alpine:v3.21) < 1.2.29-r0 1.2.29-r0
alpine/cacti(Alpine:v3.22) < 1.2.28-r0 1.2.28-r0
alpine/cacti(Alpine:v3.22) < 1.2.29-r0 1.2.29-r0
alpine/cacti(Alpine:v3.23) < 1.2.28-r0 1.2.28-r0
alpine/cacti(Alpine:v3.23) < 1.2.29-r0 1.2.29-r0
alpine/cacti(Alpine:v3.24) < 1.2.28-r0 1.2.28-r0
alpine/cacti(Alpine:v3.24) < 1.2.29-r0 1.2.29-r0
ubuntu/cacti(Ubuntu:24.04) All versions No fix listed
ubuntu/cacti(Ubuntu:26.04) All versions No fix listed
ubuntu/cacti(Ubuntu:26.10) All versions No fix listed

References