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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
GitHub 1 repository
-
p33d/CVE-2024-43363 ★ 4 · Oct 7, 2024
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- WID-SEC-2024-3088 Cacti: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 23, 2026
- DSA-5862-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4048-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026