CVE-2024-43363

NameCVE-2024-43363
DescriptionCacti 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4048-1, DSA-5862-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cacti (PTS)bullseye1.2.16+ds1-2+deb11u3vulnerable
bullseye (security)1.2.16+ds1-2+deb11u5fixed
bookworm1.2.24+ds1-1+deb12u4vulnerable
bookworm (security)1.2.24+ds1-1+deb12u5fixed
sid, trixie1.2.28+ds1-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cactisourcebullseye1.2.16+ds1-2+deb11u5DLA-4048-1
cactisourcebookworm1.2.24+ds1-1+deb12u5DSA-5862-1
cactisource(unstable)1.2.28+ds1-1unimportant

Notes

https://github.com/Cacti/cacti/security/advisories/GHSA-gxq4-mv8h-6qj4
Fixed by: https://github.com/Cacti/cacti/commit/3adc71a2b97506bf26c21935e1e6f30d58fe88e3 (release/1.2.28)
Negligible security impact as exploitability depends on writable web root for cacti

Search for package or bug name: Reporting problems