An unpatched zero-day affecting Cacti, an open-source network monitoring and graphing platform, has been made public together with functional proof-of-concept code that permits unauthenticated threat actors to achieve remote command execution on affected systems.

The exploit, named "4HTTP2SHELL" (formerly "4HTTP2ROOT"), surfaced on Thanksgiving Day when security researcher ek0ms savi0r from the Church of Malware published technical documentation, working exploit code, and a video walkthrough in a GitHub repository titled "Sad Girls 0day Club." The attack succeeds using only four HTTP requests against the default guest interface.

image

Cacti serves as a tool for tracking performance metrics across servers, routers, switches, firewalls and other network devices. Because the platform can retain credentials and SNMP authentication strings needed to reach monitored infrastructure, a compromised Cacti installation could grant attackers a foothold into broader corporate networks.

How the vulnerability works

The flaw originates from insufficient input validation that permits an unauthenticated user to insert SQL code into the application's database and alter commands that Cacti's real-time poller executes. The attack leverages the enabled guest account but demands no valid login credentials.

According to RavenAI, the attack exploits inadequate validation of how guest users configure graph display settings. An attacker saves malicious SQL statements within a guest user's graph display preferences, which persist in Cacti's database. When Cacti processes these stored preferences, it runs the SQL statements, enabling the attacker to reconfigure the poller and trigger it to execute arbitrary operating system commands.

The researcher stated: "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."

While the demonstration showed the exploit delivering root-level access on a test server, watchTowr notes that actual privilege levels depend on which account runs Cacti's web server and poller services. Numerous deployments operate these processes under restricted web server accounts rather than as root.

Testing confirmed the vulnerability affects Cacti Core 1.2.31, though the scope of impact on earlier versions remains undetermined.

Researcher frustration over disclosure practices

In a GitHub post, ek0ms savi0r expressed dissatisfaction with how organizations manage vulnerability reports, citing years of submissions being rejected, marked as duplicates, classified as expected behavior, or dismissed as unreproducible.

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. We get cracked because we get gaslit for years by billion dollar companies that treat disclosure like a PR problem.

ek0ms savi0r

The researcher disclosed the vulnerability through an Instagram announcement and did not report it to Cacti maintainers prior to publication.

Mitigation guidance

Until developers release a patch, system administrators should take the following steps:

https://player.vimeo.com/video/1250663579

  • Disable the Cacti guest account
  • Limit access to the web interface to trusted networks only
  • Audit poller configurations for unexpected or suspicious commands
  • Review application logs for warnings related to non-numeric values in graph display settings, which may signal exploitation attempts

As of November 27, no active exploitation of this vulnerability has been documented.