How a Guest Setting Became Command Execution in Cacti: Lessons from 4HTTP2SHELL
Network monitoring tools see every router, switch, and server, yet they are often patched and hardened less carefully than the systems they watch. A new unpatched Cacti zero-day shows why that blind spot matters.
What happened
On November 26, 2026, a researcher published a proof-of-concept exploit for a chain called 4HTTP2SHELL (earlier named 4HTTP2ROOT). According to BleepingComputer and The Hacker News, it affects Cacti Core 1.2.31, the latest release, when the guest account is enabled, and reaches operating-system command execution with just four HTTP requests and no credentials. There is no CVE and no patch yet, and the researcher says Cacti was not notified before release. As of November 27, no in-the-wild exploitation had been reported.
How the chain works
Four weaknesses line up:
- A guest can store an arbitrary string in a setting that should only hold a number, the graphs-per-page preview option.
- That stored value is later placed into a database query, creating a second-order SQL injection, and the driver accepts stacked statements.
- The injected SQL updates a row in Cacti's poller table.
- The real-time graph page reads that row and passes it to PHP's popen() without an allowlist, so the command runs.
The resulting privileges depend on the account that runs the web server and poller. The researcher demonstrated root, but watchTowr notes that many deployments run as a low-privileged web user. Even then, an attacker can read data or quietly suppress alerts.
Practical steps until a fix ships
- Disable the guest account in Cacti's authentication settings. This is the fastest and most important step.
- Restrict the web interface to the management network and a few trusted addresses.
- Review poller table entries for unexpected command values.
- Search application logs for warnings about non-numeric graph display settings.
- If the interface was exposed, rotate SNMP community strings and related credentials.
The bigger lesson
Mandiant's M-Trends 2025 found that exploits were the most common initial infection vector, at 33% of investigations. Patch programs need to cover monitoring, backup, and management tools, not just production servers, and any numeric input should be validated as a number on the server side.
Full write-up with the attack chain and a response checklist: Unpatched Cacti zero-day 4HTTP2SHELL
— Kazem Mortazavi, independent network-security consultant
About the author
- Founder of Security Land and CEO of PRS, with 25+ years in ICT. I write practical, no-hype analysis of the latest vulnerabilities, zero-days and incidents — and what security and infrastructure teams should actually do next. Focus areas: network security, DLP, encryption/HSM, identity and threat intelligence. More at symantecland.com
Comments
Join the discussionNo comments yet. Be the first to comment.

