CVE-2024-43363
Published: 07 October 2024
Summary
CVE-2024-43363 is a high-severity Code Injection (CWE-94) vulnerability in Cacti Cacti. Its CVSS base score is 7.2 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Web Shell (T1505.003); ranked in the top 1.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Cacti, an open source performance and fault management framework, is affected by CVE-2024-43363, a code injection flaw tracked under CWE-94. An administrator can supply a device hostname containing embedded PHP and force the application to treat a PHP file as its log target by advancing only through step 5 of the installation routine, enabling subsequent log poisoning that results in remote code execution when the log URL is requested.
The attack requires an authenticated administrative account and network access; once the poisoned log is written, an attacker can execute arbitrary commands on the server with the privileges of the web server process. The CVSS 3.1 base score is 7.2, reflecting high impact on confidentiality, integrity, and availability under low attack complexity.
The vulnerability is resolved in Cacti 1.2.28, and the project states there are no known workarounds; administrators should upgrade promptly. Public references include the GitHub Security Advisory GHSA-gxq4-mv8h-6qj4 and the Debian LTS announcement for affected packages.
The current EPSS of 0.7513 matches its recorded peak, indicating moderate but stable exploitation interest since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-40251
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability enables authenticated admins to achieve RCE by poisoning a web-accessible PHP log file with malicious code from a crafted device hostname, exploiting the public-facing Cacti application and effectively deploying a web shell.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.