Vulnerability · Published Oct 7, 2024 · Assigned by GitHub_M

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

High 7.2

In plain English

A high-severity code injection in cacti from Cacti. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 35.6% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)35.6%top 1.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20cacti1.2.28-r0ALPINE-CVE-2024-43363
Alpine:v3.21cacti1.2.28-r0, 1.2.29-r0ALPINE-CVE-2024-43363
Alpine:v3.22cacti1.2.28-r0, 1.2.29-r0ALPINE-CVE-2024-43363
Alpine:v3.23cacti1.2.28-r0, 1.2.29-r0ALPINE-CVE-2024-43363
Alpine:v3.24cacti1.2.28-r0, 1.2.29-r0ALPINE-CVE-2024-43363
Debian:12cacti1.2.24+ds1-1+deb12u5DEBIAN-CVE-2024-43363
Debian:12cacti1.2.24+ds1-1+deb12u5DSA-5862-1
Debian:13cacti1.2.28+ds1-1DEBIAN-CVE-2024-43363
Debian:14cacti1.2.28+ds1-1DEBIAN-CVE-2024-43363
Ubuntu:24.04:LTScactino fix listedUBUNTU-CVE-2024-43363
Ubuntu:25.10cactino fix listedUBUNTU-CVE-2024-43363
Ubuntu:26.04:LTScactino fix listedUBUNTU-CVE-2024-43363
Ubuntu:26.10cactino fix listedUBUNTU-CVE-2024-43363

Affected products (as reported)

VendorProductVersions
Cacti cacti < 1.2.28

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References