A newly disclosed zero-day in Cacti, an open-source network monitoring tool, could let an attacker run operating system commands on a server without logging in when its guest account is enabled.
A security researcher using the name ek0ms savi0r published a proof of concept for the flaw on November 26. The researcher said the attack chain, tracked as 4HTTP2ROOT and 4HTTP2SHELL, reached command execution against Cacti Core 1.2.31 in four HTTP requests without a valid account or API key. The researcher’s technical demonstration is publicly available.
The chain starts with a setting that a guest user can change. Because Cacti does not properly validate the value, the researcher was able to turn it into a stored SQL injection that changes an entry in the platform’s polling configuration. A later request to the real-time poller then causes the modified entry to be passed to a command-execution function.
Security firm watchTowr said the demonstrated attack requires guest access to be enabled and runs commands with the privileges of the account used by Cacti’s web server and poller. That account is often a low-privilege service user, so the exploit does not automatically give an attacker root access on every system.
The risk extends beyond the monitoring server itself. Cacti is used to track routers, switches, servers and other network devices, and its installations may hold credentials and connection details for those systems. A compromised monitoring server could therefore give an attacker information or access that helps them move further into an organization’s network.
The issue has not been assigned a CVE identifier or an official severity score, and Cacti has not released a fix. The full range of affected versions is also unknown; the public proof of concept has been tested against version 1.2.31. Cacti’s documentation says guest access is disabled by default, but installations where an administrator has enabled it are exposed to the demonstrated attack path. WatchTowr said it had not seen reports of exploitation in the wild as of November 27.
Until a fix is available, administrators should disable the guest account and restrict access to the Cacti web interface to trusted networks. WatchTowr also recommends checking polling configuration for unexpected commands and reviewing application logs for unusual non-numeric values. Abijita recently reported on active exploitation of a separate flaw in Juniper’s Session Smart platform.




