deniz.in

Markets

Weather

Loading weather

· via dev.to (home feed)

Cacti monitoring zero-day: public exploit turns guest access into command execution

A researcher published a working exploit chain for Cacti that turns guest access into unauthenticated command execution on the server. Fixes have been merged into Cacti's branches, but no patched release has shipped.

Cacti monitoring zero-day: public exploit turns guest access into command execution

A zero-day in Cacti, the open-source network monitoring and graphing tool, was disclosed publicly this week alongside a working exploit. According to a dev.to write-up, a researcher publishing as ek0ms savi0r posted an attack chain named 4HTTP2SHELL (originally called 4HTTP2ROOT) to GitHub on 26 November 2026. The chain needs only four HTTP requests to take an anonymous visitor from first contact to command execution on the Cacti server. BleepingComputer reports that the researcher did not contact the Cacti project before going public, so no patch existed when the exploit appeared.

The flaw was demonstrated against Cacti Core 1.2.31, the newest release at the time of disclosure, and it only works when Cacti's guest account is enabled. Guest access lets people view graphs without signing in, and teams often switch it on for wall displays or for contractors.

How the exploit chain works

Rather than a traditional injection point, the chain abuses a display setting. A guest can save text into a field where Cacti expects a numeric page size. The stored value is later placed into a database query without any check that it is a number. That allows the attacker to modify a stored poller command, which a graph page reachable by guests then executes on the server. The dev.to write-up notes that The Hacker News and watchTowr describe the same four-step sequence.

How much control the attacker gains

The researcher's lab ran Cacti as root, which makes the demonstration look severe. In practice, watchTowr points out that the attacker inherits the privileges of whatever account runs the Cacti web server and poller. On most real deployments that is a low-privileged web user rather than root, a caveat that BleepingComputer's report also carries.

Patch, CVE and exploitation status

As of 28 November 2026, no fixed release had shipped. The newest version on Cacti's GitHub repository remained 1.2.31, which was published in June 2026. On 28 November, Cacti's maintainers merged code changes into both the 1.2.31 maintenance branch and the 1.2.x branch. The changes stop guest accounts from saving profile settings and validate graph page-size values before they reach the database. The pull requests do not mention 4HTTP2SHELL by name, and no packaged release is available yet.

No CVE has been assigned; watchTowr lists it as unassigned, Cacti's GitHub security advisories page has no entry, and NVD shows no new Cacti record this week. Neither watchTowr nor BleepingComputer reported active exploitation as of 27 November, and the flaw does not appear in CISA's Known Exploited Vulnerabilities catalog. For context, an older Cacti vulnerability, CVE-2022-46169, has been listed in that catalog since February 2023, so attackers have targeted the software before.

Who is at risk

A deployment is exposed only if three conditions hold: Cacti is installed, guest access is turned on, and the web interface is reachable from the internet or from a network the operator does not control. The Hacker News notes that guest access has been off by default since Cacti version 0.8.7, so many installations are not vulnerable to this specific chain. The researcher tested only 1.2.31, and it is unclear whether older versions are affected, so the dev.to write-up advises treating any version with guest access enabled as exposed.

What operators should do

Until a patched release ships, the practical mitigations are:

  • Turn off guest access, which removes the entry point the chain needs. The underlying bug remains, so this is a workaround rather than a fix.
  • Restrict who can reach the Cacti page, using a VPN or an IP allowlist rather than leaving it open to the whole internet.
  • Review poller settings for unexpected commands and Cacti logs for warnings about non-numeric values in graph display settings, as watchTowr suggests.
  • Confirm Cacti is not running as root.
  • Update promptly once a fixed release is published, then verify the installed version.

If traces of tampering are found, the server should be treated as compromised, and any device logins stored in Cacti should be changed along with the Cacti password itself.

Why it matters

Monitoring panels are easy to forget because they sit quietly next to the workloads they watch. Cacti often stores connection credentials for routers, switches and other servers, and watchTowr warns that command execution on the monitoring box can open a foothold well beyond it. When the panel shares a machine with websites, databases and visitor traffic, that foothold starts adjacent to everything else. With a public exploit, no coordinated disclosure, no CVE and no packaged patch, the defence right now is configuration: switch off guest access, restrict reachability, and watch for the release. The incident also fits a familiar pattern in which auxiliary services attached to web servers, rather than the sites themselves, become the way in.

  • #cacti
  • #security
  • #zero-day
  • #open-source
  • #monitoring

Related posts