An unpatched zero-day vulnerability in the open-source Cacti network monitoring platform has been publicly disclosed alongside a functional proof-of-concept exploit. The flaw enables remote attackers to execute arbitrary system commands on affected hosts without supplying valid credentials, provided the platform's guest account feature remains active.
The exploit, named "4HTTP2SHELL" (initially called 4HTTP2ROOT), was published on Thanksgiving Day by an independent security researcher operating under the handle ek0ms savi0r from the Church of Malware. According to BleepingComputer, the researcher released technical documentation, a video demonstration, and working exploit code in a public GitHub repository named "Sad Girls 0day Club."
How the 4HTTP2SHELL Attack Works
The flaw is rooted in inadequate input validation within Cacti's handling of guest user session preferences. By sending four targeted HTTP requests against an exposed instance, an unauthenticated attacker can alter graph display settings to inject malicious SQL statements directly into the backend database.
As detailed by cybersecurity firm RavenAI, the attack functions as a stored SQL injection vulnerability. When the attacker saves crafted SQL payloads inside the guest profile's graph display preferences, Cacti stores the malicious input. When the application subsequently reads and processes these values, the injected SQL statements execute.
Once injected, the attacker uses the database access to alter the configuration of Cacti's real-time poller. When the poller next runs its scheduled data collection routines, it executes the attacker's arbitrary operating system commands.
Execution Privileges and Attack Scope
While the initial proof of concept demonstrated an attacker gaining root-level access to the host operating system, researchers at cybersecurity firm watchTowr noted that the resulting privileges correspond directly to the environment running the Cacti service. In standard production deployments, the web server and poller daemons often run under lower-privileged service accounts rather than full administrative privileges.
Even under limited service accounts, a compromise of a network monitoring server poses a severe threat to enterprise infrastructure. Cacti is designed to track routers, switches, firewalls, and servers, and frequently stores sensitive administrative credentials and SNMP passphrases. Attackers who gain a foothold on the monitoring host can harvest these stored secrets to pivot across internal corporate networks.
The exploit has been verified against Cacti Core version 1.2.31. It remains unconfirmed whether earlier releases of the software also contain the vulnerable input validation routines.
Full Public Disclosure Without Prior Notice
The zero-day was released without coordinated disclosure to the Cacti development team. In statements accompanying the exploit release on GitHub and Instagram, the researcher expressed persistent frustration with industry disclosure practices, stating that vendor gaslighting and the frequent dismissal of valid vulnerability reports as duplicates or intended behavior led to the decision to drop the code publicly.
As of late November, there were no documented reports of threat actors exploiting the vulnerability in active campaigns. However, because working exploit code is freely available, automated exploitation attempts are expected to follow quickly.
What You Should Do
Because the Cacti project has not yet released an official security update to remediate the flaw, system administrators must implement immediate defensive workarounds:
- Deactivate the guest user profile: The attack relies entirely on interacting with default guest capabilities. Disabling the built-in guest account inside Cacti configuration settings neutralizes the public exploit vector.
- Isolate the management interface: Restrict network access to Cacti instances so that the web interface is accessible only from trusted administrative networks or through an internal VPN. Public-facing deployments should be taken offline or shielded behind restrictive access control lists.
- Audit poller configurations: Inspect the database and poller settings for modified commands, unexpected script paths, or anomalous task schedules.
- Inspect web server and application logs: Review Cacti application logs for non-numeric input errors and warnings tied to graph display settings, which may signal that an attacker attempted the stored injection technique.





