"I found a path from a fresh, unauthenticated HTTP session to command execution as the Cacti server user in four requests. No login. No valid API key. No phishing. Just four HTTP requests against the default guest surface," wrote cybersecurity researcher ek0ms savi0r of the Church of Malware after publishing a proof-of-concept exploit on Thanksgiving Day.
4HTTP2SHELL: a four-request exploit and public PoC
The exploit, published under the name 4HTTP2SHELL (previously 4HTTP2ROOT), includes a written technical analysis, a proof-of-concept (PoC) exploit, and a video demonstration in a GitHub repository titled "Sad Girls 0day Club." The researcher demonstrated that an unauthenticated attacker can move from an initial HTTP session to remote command execution against a Cacti server using four HTTP requests. The researcher also said the vulnerability was not reported to Cacti before being released publicly.
How the vulnerability operates according to multiple analysts
Multiple cybersecurity firms and the researcher attribute the weakness to insufficient input validation that enables SQL injection and downstream command execution. RavenAI described the flaw as a stored SQL injection rooted in "weak validation of guest users' graph display settings," where malicious SQL saved in a guest user's preferences is later executed when Cacti processes those settings. That execution can modify the poller's configuration so the poller runs attacker-supplied operating system commands. watchTowr noted that the level of access an attacker gains depends on the account under which the Cacti web server and poller run; while the researcher demonstrated root access on a vulnerable server, watchTowr explained many deployments run those processes as a lower-privileged web server account rather than root.

Audit-ready is a season. It shouldn't be.
Evidence in spreadsheets, controls drifting between audits, frameworks multiplying on flat headcount. Nubivance runs continuous compliance on Rapid7 Cyber GRC - SOC 2, HIPAA, ISO 27001, PCI, CMMC.
End the scrambleScope: Cacti, credentials, and the tested version
Cacti is described in the disclosure as an open-source network monitoring and graphing tool used to monitor the performance of servers, routers, switches, firewalls, and other network infrastructure. Because Cacti can store credentials and SNMP passphrases used to access or read data from monitored devices, a compromised Cacti server could potentially give attackers access to other systems on a corporate network. The researcher tested the exploit against Cacti Core 1.2.31; the disclosure does not state whether earlier or later versions are vulnerable.
Immediate mitigations recommended until a patch appears
Until a patch is released, administrators are advised to deactivate the Cacti guest account and to restrict access to the application's web interface to trusted networks. The advisory also recommends reviewing poller configurations for unexpected commands and examining application logs for warnings involving non-numeric values in graph display settings—anomalies that could indicate attempted exploitation.
What this means for Cacti administrators, open-source maintainers, and network defenders
- Cacti administrators should treat the guest account as a high-risk vector: disable it if enabled, inspect stored graph display preferences for suspicious SQL, and verify poller command settings for unauthorized changes.
- Open-source maintainers and project stewards face an immediate disclosure choice: the researcher released a public PoC and explicitly stated the issue was not reported beforehand; maintainers will need to prioritize a patch and clear guidance for users to prevent widespread exploitation.
- Network defenders and incident responders should monitor for signs of exploitation—particularly non-numeric warnings in graph display logs and unexpected commands executed by the poller—and isolate exposed Cacti instances until mitigations are applied.
The disclosure includes a broader note from the researcher about handling of vulnerability reports: ek0ms savi0r described repeated frustrations with security reports being dismissed or closed as duplicates, expected behavior, or irreproducible, arguing that researchers "are the ones trying to help" and urging attention to how large vendors treat disclosure. As of November 27, there have been no reports that the vulnerability is being exploited in the wild.
Administrators and defenders who run Cacti should follow the specific mitigations above and watch for an official patch; the public PoC and the simplicity of the reported attack—four unauthenticated HTTP requests—make timely defensive action imperative.
Original reporting: https://www.bleepingcomputer.com/news/security/unpatched-cacti-zero-day-with-public-poc-gives-remote-code-execution/




