Cacti zero-day 4HTTP2ROOT allows unpatched RCE via guest
Part of the Cacti story · since 30 Jun
- Tue 30 Jun, 01:20 UTC. SecurityOnline, first report. Cacti issues fix for critical preauth SQLi and file inclusion flaw.
- Fri 27 Nov, 06:05 UTC. cybersixt, its first report on the story. Cacti zero-day 4HTTP2ROOT allows unpatched RCE via guest. This article, 2nd of 3.
- Fri 27 Nov, 06:30 UTC. The Hacker News, its first report on the story. Cacti Zero Day Enables RCE Through Guest Access in Four Requests.
A security researcher has published a working exploit for an unpatched flaw chain in Cacti, the open-source network monitoring tool, that lets anyone who can reach its web interface run commands on the server when the guest account is enabled. The researcher, who publishes as ek0ms savi0r, released the chain, named 4HTTP2ROOT, with proof-of-concept code in a public GitHub repository on 26 November. It targets Cacti 1.2.31, the latest release in the 1.2 line, and needs only four HTTP requests. There is no CVE and no fixed release yet.
Exposure management firm watchTowr said the same day that it was rapidly reacting to 4HTTP2ROOT, noting that guest access is required "but is a common config" and that it has alerted its clients to their exposure.
How the four requests work
According to a technical summary by RavenAI, which credits the research and exploit to ek0ms, the chain links three weaknesses. First, a guest visitor can open the profile page, receive a session and an anti-forgery token without any credentials, and save an arbitrary string in the preview_graphs_per_page setting, which is meant to be a number. Second, the graph preview page later reads that stored value and concatenates it into a SQL LIMIT clause; request validation does not cover the stored default, so an appended UPDATE statement runs and rewrites a command stored in the poller_item table. Third, opening a realtime graph makes Cacti's realtime poller execute that stored command through popen(). In the researcher's lab, the chain was used to plant a PHP web shell and obtain a root shell.
RavenAI notes that the chain was validated against 1.2.31 in a lab and that the research does not establish whether other versions, guest configurations or database settings are exploitable. Because Cacti holds SNMP community strings and device credentials for the networks it monitors, a compromised server can expose far more than the monitoring tool itself.
What Cacti users should do now
With no patch available, the only mitigation is to remove the conditions the chain needs: disable the guest account, and keep the Cacti web interface off the internet and reachable only from management networks. Administrators should also look for the traces RavenAI lists: unexpected non-numeric values in the preview_graphs_per_page setting, PHP warnings about non-numeric values, changes to poller_item.arg1 and new files in the web root.
The Cacti project has not published an advisory. A pull request opened on 27 November on its development branch tightens validation of the page-size and paging values used by the graph preview, but it has not been merged and is not part of any release. The current 1.2.31 release dates from June, according to the project's release list.
How the story developed
3 articles from 3 outlets since 30 Jun. Picked up again today after 21 weeks quiet. This was the 2nd report, 150 days after the first.
- Tue 30 Jun, 01:20 UTC. SecurityOnline, first report. Cacti issues fix for critical preauth SQLi and file inclusion flaw.
- Fri 27 Nov, 06:05 UTC. cybersixt, its first report on the story. Cacti zero-day 4HTTP2ROOT allows unpatched RCE via guest. This article, 2nd of 3.
- Fri 27 Nov, 06:30 UTC. The Hacker News, its first report on the story. Cacti Zero Day Enables RCE Through Guest Access in Four Requests.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
- Quiet time, folded
Show all 3 articles as a listHide the list
- Tue 30 JunDay 01
- Cacti issues fix for critical preauth SQLi and file inclusion flaw01:20 · SecurityOnline · First report
Quiet for 21 weeks
Fri 27 NovDay 1502- Cacti zero-day 4HTTP2ROOT allows unpatched RCE via guest06:05 · cybersixt · Picked up again · This article, 2nd of 3
- Cacti Zero Day Enables RCE Through Guest Access in Four Requests06:30 · The Hacker News
Sources
- ek0ms savi0r: 4HTTP2ROOT write-up and PoCPrimary sourcegithub.com
- watchTowr on X: rapid reaction to 4HTTP2ROOTPrimary sourcex.com
- RavenAI: Four requests to shell, Ek0ms's Cacti 0-day chainReportravenai.sh
- Cacti GitHub: pull request 9002, graph preview query-boundary validationPrimary sourcegithub.com
- Cacti GitHub: releasesgithub.com
More reporting
- Tor Browser flaw CVE-2026-92027 leaks real IP in one click27 Nov
- TONARIWA data breach: 616,000 doda job seekers' data leaked26 Nov
- SAP security incident: company sees no customer data access26 Nov
- AFP cyberattack takes AFP Forum photo platform offline26 Nov
- Lelie zorggroep data breach: hackers may hold client files26 Nov
Written by CyberSIXT from the sources above.How we reportCorrectionsRSS