Cacti zero-day vulnerability: public exploit needs only four requests
A researcher published working exploit code for an unpatched flaw in the Cacti monitoring tool. Until a fix ships, the main defenses are turning off the guest account and limiting who can reach the web interface.
A new Cacti zero-day vulnerability has been made public, complete with working exploit code. BleepingComputer reports that a researcher known as ek0ms savi0r released the exploit on Thanksgiving Day, showing that an attacker with no login can run commands on a vulnerable Cacti server using just four HTTP requests.
Cacti is an open-source tool that monitors and graphs the performance of servers, routers, switches, firewalls, and other network equipment. If your IT person or managed service provider uses it, this one is worth a quick conversation today.
Why the Cacti zero-day vulnerability matters beyond one server
A monitoring server is rarely the most exciting machine on a network, but it tends to be well connected. To do its job, Cacti has to reach the devices it watches, and according to BleepingComputer it can store the credentials and SNMP passphrases used to read data from them. SNMP is a common protocol for asking network devices about their status.
That is why a flaw here deserves attention. If someone takes over the Cacti server, they may find keys that help them reach other systems on the same network. The problem is not only the monitoring box itself, but what it knows.
This is also a true zero-day. The researcher said the issue was not reported to the Cacti team before it was released, so there is no official patch to install yet.
How the attack works, in plain terms
Based on the reporting, the flaw comes from weak checking of input. An attacker can slip database commands (SQL) into the settings that control how graphs display for the guest user. Those settings get saved in Cacti's database. Later, when Cacti processes the saved preferences, it runs the planted SQL.
The security firm RavenAI describes this as a stored SQL injection. According to the report, the attacker can use it to change the configuration of Cacti's real-time poller, which is the component that collects data from monitored devices. With that configuration altered, the poller can be made to run malicious operating system commands.
The researcher summed up the appeal of the attack this way: "Just four HTTP requests against the default guest surface." No password, no API key, and no phishing email is needed.
There is one important condition. The attack requires the Cacti guest account to be enabled. It does not require valid credentials, but if guest access is off, this particular path is closed according to the reporting.
How much access could an attacker actually get?
The researcher demonstrated the exploit giving root access, which is the highest level of control on a Linux-style server. Cybersecurity firm watchTowr points out that the real outcome depends on which account runs the Cacti web server and poller processes. In many setups, that could be a low-privileged web server account instead of root.
That is better than full control, but it is not harmless. Command execution as any account on a server that holds network credentials is a serious foothold. Treat it as a real risk even if your setup does not run as root.
What to do right now
BleepingComputer says administrators are advised to take a few steps until a patch arrives. Here is a practical checklist, with a couple of general good-practice additions:
- Find out if you run Cacti. Ask your IT staff or provider. Small teams often have monitoring tools that were set up years ago and forgotten.
- Deactivate the guest account. The attack depends on it being enabled.
- Restrict the web interface to trusted networks. If the Cacti login page is reachable from the open internet, limit it to your internal network or a VPN.
- Review poller configurations. Look for commands you do not recognize.
- Check application logs. The report suggests searching for warnings involving non-numeric values in graph display settings, which could point to attempted exploitation.
- Plan for credential changes if you find signs of tampering. Since Cacti may hold SNMP passphrases and device credentials, those are worth replacing if the server was affected.
- Watch for an official fix. When the Cacti project releases a patch, apply it promptly.
If you are not sure whether any of your systems are reachable from the internet, an outside view helps. Want to know how exposed your own site is? Start with a free external scan.
What we still do not know
Several questions remain open. The researcher tested the exploit against Cacti Core 1.2.31, but BleepingComputer notes it is unclear whether earlier versions are also vulnerable. Until that is confirmed, it is safer to assume older installations could be affected too.
There is also no word yet on when a patch will arrive. As of November 27, the report says there have been no reports of the vulnerability being used in attacks. That is reassuring, but public exploit code tends to shorten the time between disclosure and misuse, so waiting is not a strategy.
The release also comes wrapped in a larger argument. In a post on the same GitHub repository, the researcher voiced frustration with how companies handle vulnerability reports, describing years of reports dismissed or closed as duplicates or expected behavior. Whatever you think of releasing an exploit without notifying the vendor, the practical result is the same for defenders: the details are public, and the fix is not.
The bottom line for small teams
You do not need to panic, and you do not need to wait for a patch to reduce your risk. Turning off one account and limiting who can reach one web page can close the known path. Do those two things first, then check your logs and poller settings, and keep an eye out for an official update from the Cacti project.
Sources
- Unpatched Cacti zero-day with public PoC gives remote code execution BleepingComputer
This post was drafted with AI from the reporting linked above and published by The Jones Foundry. For full details, read the original sources.