Incident sheet · /security

Filed
Read
3 min · 552 words
Severity
Routine

Cacti Zero-Day Exposed: Four HTTP Requests, No Patch, No Login

A public PoC gives unauthenticated attackers command execution on unpatched Cacti monitoring servers via four HTTP requests. No patch exists yet; no attacks reported as of November 27.

Unpatched Cacti zero-day with public PoC gives remote code execution
FeedUnpatched Cacti zero-day with public PoC gives remote code execution — Lalmch / pixabay

Event log

  1. Unauthenticated RCE in Cacti achievable with four HTTP requests; PoC published on GitHub.
  2. Exploit demonstrated against Cacti Core 1.2.31; earlier versions' status unclear.
  3. No patch available and no in-the-wild exploitation reported as of November 27.
  4. Flaw is a stored SQL injection via guest users' graph display settings; requires guest account enabled.
  5. Mitigation: disable guest account, restrict web interface to trusted networks.

An unpatched zero-day in the Cacti network monitoring platform gives unauthenticated attackers remote command execution using just four HTTP requests — and a public proof-of-concept exploit is now live on GitHub. As of November 27, no attacks have been observed in the wild. But there's no patch, either.

The exploit, called "4HTTP2SHELL" (previously 4HTTP2ROOT), was published on Thanksgiving Day by a researcher going by ek0ms savi0r of the Church of Malware, complete with a technical write-up, PoC code, and a video demo, all hosted in a GitHub repository named "Sad Girls 0day Club."

"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," the researcher explained.

Why this matters beyond one server

Cacti is an open-source monitoring and graphing tool that tracks the performance of servers, routers, switches, firewalls, and other network infrastructure. That's the part that should worry CIOs: Cacti servers can store credentials and SNMP passphrases for the monitored devices. Compromise the monitoring box, and you've got a foothold — and potentially keys — into the rest of the corporate network.

The researcher demonstrated the exploit against Cacti Core 1.2.31. It's unclear whether earlier versions are also vulnerable. And there's a wrinkle in the severity assessment: while the demo showed root access, watchTowr notes that the privileges gained depend on the account running the Cacti web server and poller processes. In many deployments, that's a low-privileged web server account, not root.

How the attack works

RavenAI breaks down the mechanics: the flaw abuses weak validation of guest users' graph display settings, producing a stored SQL injection.

  • The attacker saves malicious SQL statements in a guest user's graph display preferences.
  • Cacti stores those preferences in its database.
  • When the app processes them, it executes the injected SQL.
  • The attacker then modifies the poller's configuration and makes it run malicious operating system commands.

The only prerequisite is that the Cacti guest account is enabled. No valid credentials required.

What should administrators do right now?

Until a patch ships, the guidance is containment. Deactivate the Cacti guest account and restrict the web interface to trusted networks only. Beyond that, review poller configurations for unexpected commands and check application logs for warnings involving non-numeric values in graph display settings — a telltale sign someone has already probed the flaw.

Notably, the researcher said the vulnerability was never reported to Cacti before release, an intentional burn. In a separate GitHub post, ek0ms savi0r vented years of frustration with vendor disclosure practices, describing security reports being dismissed as duplicates, "expected behavior," or unreproducible issues.

"Security researchers are not the bad guys. We're the ones trying to help. We're the ones who read the docs, wrote the repro, and sent the packet capture," the researcher wrote. "We get cracked because we get gaslit for years by billion dollar companies that treat disclosure like a PR problem."

For security teams running Cacti in production, the practical question is simple: is the guest account on, and is the web interface internet-facing? If the answer to either is yes, that's today's to-do list.

via bleepingcomputer.com (Source)

Filed under

Share this article:

More from Olivia Hart

Olivia Hart

Show full bio

News editor covering money, funding and market shifts around enterprise information technology and the leaders who run at CIO Monitor.

247 articles

The newsroom digest

One email a day with the stories that matter. No noise.

By subscribing you agree to the privacy policy.

Cross-references

‹ Previous articleNext article ›