CVE-2024-43363 Remote code execution via Log Poisoning in Cacti
An admin user can achieve remote code execution in Cacti by injecting PHP code into the log file via a malicious hostname during installation.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-43363?
CVE-2024-43363 is a high-severity code injection vulnerability in Cacti Cacti, published on 7 Oct 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2024-43363?
It affects 1 product.
Products include Cacti Cacti.
How do I fix CVE-2024-43363?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-43363 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43363 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Cacti Cacti
- CVE-2022-46169 Cacti Command Injection
- CVE-2026-39893 Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php
- CVE-2026-39938 Cacti: Unauthenticated RCE on Graph Image
- CVE-2026-39955 Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php
- CVE-2023-39361 Unauthenticated SQL Injection in graph_view.php in Cacti
Sources
Also known as DEBIAN-CVE-2024-43363, GHSA-gxq4-mv8h-6qj4, UBUNTU-CVE-2024-43363.