Hackers Exploit '4HTTP2SHELL' Vulnerability in Cacti Network Monitoring Tool
A critical SQL injection vulnerability in the Cacti network monitoring tool, dubbed '4HTTP2SHELL', is being actively exploited by attackers to gain remote code execution.

Attackers have begun actively exploiting a critical SQL injection vulnerability in the widely-used Cacti network monitoring and graphing tool, shortly after proof-of-concept exploit code was released. The vulnerability, which has been nicknamed '4HTTP2SHELL', allows unauthenticated remote attackers to execute arbitrary commands on affected servers, posing a significant risk to organizations relying on Cacti for network visibility.
Cacti, an open-source tool built on RRDtool, is employed by enterprises to collect and track data from various network devices, including routers, servers, and switches. The flaw resides in Cacti Core version 1.2.31 and, according to Cacti's maintainers, could allow an authenticated attacker with 'Normal User' permissions to escalate to administrator rights and achieve arbitrary OS command execution. The vulnerability carries a CVSS score of 8.8.
While Cacti maintainers released patches for affected branches on November 26th, and these were slated for inclusion in version 1.2.32, the public release of exploit code on November 26th accelerated the exploitation timeline. A researcher published proof-of-concept code that chains the vulnerability with the 'guest' account and real-time graph handling features, effectively turning a previously authenticated vulnerability into an unauthenticated attack vector.
The '4HTTP2SHELL' exploit, initially named '4HTTP2ROOT', does not require any form of authentication or a valid user session. It leverages a specific sequence of four HTTP requests to transform the SQL injection flaw into a full-fledged remote command execution capability. This exploit path is described as stealthy, as each individual request appears normal, making detection more challenging.
Security firm WatchTowr detailed the exploit's mechanism, explaining that an attacker starts as an anonymous guest, manipulates per-user display settings, and inserts an unvalidated value into a database query. This query is then interpreted by the server as multiple commands, one of which modifies a poller setting to execute a shell command, which is subsequently run by another guest-accessible page.
Previdian and WatchTowr observed the first in-the-wild exploitation attempts targeting '4HTTP2SHELL' on November 27th, with Previdian reporting nearly 1,800 observed attempts. This rapid exploitation highlights the immediate threat posed by publicly available exploit code for critical vulnerabilities.
Organizations using Cacti are strongly advised to apply the available patches immediately. Additional recommended security measures include disabling the guest account if not essential, restricting Cacti access to trusted networks, monitoring for unexpected changes to user settings, and enforcing strict least privilege policies for all user accounts.