Skip to content
OpenAdvisories
High · 7.2 Public exploit CVE-2024-43363 EUVD-2024-40251

Remote code execution via Log Poisoning in Cacti

Published Oct 7, 2024 · Updated Nov 3, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
Cacti cacti < 1.2.28 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cacti 1.2.28+ds1-1 —
Debian 13 cacti 1.2.28+ds1-1 —
Debian 12 cacti 1.2.24+ds1-1+deb12u5 DSA-5862-1
Debian 11 cacti 1.2.16+ds1-2+deb11u5 DLA-4048-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 cacti No fix yet —
Ubuntu 26.04 LTS cacti No fix yet —
Ubuntu 25.10 cacti No fix yet —
Ubuntu 24.04 LTS cacti No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS cacti No fix yet —
Ubuntu Pro 20.04 LTS cacti No fix yet —
Ubuntu Pro 18.04 LTS cacti No fix yet —
Ubuntu Pro 16.04 LTS cacti No fix yet —
Ubuntu Pro 14.04 LTS cacti No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 cacti 1.2.28-r0 —
Alpine v3.23 cacti 1.2.28-r0 —
Alpine v3.22 cacti 1.2.28-r0 —
Alpine v3.21 cacti 1.2.28-r0 —
Alpine v3.20 cacti 1.2.28-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References