Cacti Zero-Day Draws Probes After Public RCE Disclosure
Cacti is an open-source tool that graphs performance data from routers, switches, servers and other network equipment. The researcher known as ek0ms savi0r disclosed the chain on November 26 under the names 4HTTP2ROOT and 4HTTP2SHELL. BleepingComputer and The Hacker News reported on the disclosure November 27. Cacti installations may hold SNMP strings and device credentials, so access to a monitoring server could expose information used to manage other systems, watchTowr said.
The public demonstration targets Cacti Core 1.2.31 when its guest account is enabled. Cacti documentation says guest access is disabled by default. According to the researcher and watchTowr, a visitor without a login can place an unvalidated value in a graph display preference. When Cacti later uses that stored value in a database query, the resulting SQL injection can alter a poller configuration entry.
A subsequent request to the real-time graph page causes the poller to run the altered command, completing the demonstrated chain in four HTTP requests. The command runs with the privileges of the affected application process, watchTowr and Previdian said; root access shown in a laboratory setup does not establish that ordinary installations run the process as root. The extent to which earlier Cacti versions are affected remains unconfirmed. No CVE identifier has been assigned to this chain.
Previdian said it reproduced the proof of concept in a lab and observed the later SQL injection probes on its honeypots. Its report did not establish that the probes achieved remote code execution. As of the latest reviewed reports, Cacti had not released a confirmed patch. Administrators with guest access enabled should disable the designated guest user and limit the web interface to trusted management networks or VPN users, according to watchTowr and Previdian.
Defenders should inspect Cacti poller settings for unexpected commands and review logs for non-numeric graph preference values, watchTowr advised. Previdian also recommends checking for unusual process execution and assessing stored device credentials if compromise is suspected. Administrators should monitor Cacti security advisories for a fix while the affected version range and any successful attacks outside research environments remain unresolved.