Startups & Business

Researcher releases zero-day exploit for Cacti network monitoring

Cybersecurity researcher ek0ms savi0r released the 4HTTP2SHELL exploit targeting Cacti Core 1.2.31. The vulnerability allows unauthenticated attackers to execute operating system commands via a stored SQL injection through the platform's default guest account settings.

Researcher releases zero-day exploit for Cacti network monitoring

Exploit mechanics and impact

Cybersecurity researcher ek0ms savi0r from the Church of Malware released a proof-of-concept exploit for a zero-day vulnerability in the Cacti network monitoring platform on Thanksgiving Day. The exploit, called "4HTTP2SHELL", allows unauthenticated attackers to execute commands on vulnerable servers through four HTTP requests against the default guest surface. RavenAI reports that the attack abuses weak validation of guest users’ graph display settings to create a stored SQL injection. An attacker saves malicious SQL statements in a guest user’s graph display preferences, and when Cacti processes these saved preferences, it executes the SQL statements, which allows the attacker to modify the poller’s configuration and cause it to run malicious operating system commands. The researcher published a technical write-up and a video of the attack in a GitHub repository named "Sad Girls 0day Club."

Vulnerability Detail Specification
Exploit Name 4HTTP2SHELL
Affected Version Cacti Core 1.2.31
Required Condition Enabled guest account
Attack Vector Four HTTP requests

The researcher tested the exploit against Cacti Core 1.2.31, though the impact on earlier versions remains unconfirmed. While ek0ms savi0r demonstrated root access, watchTowr states that the privileges gained through exploitation depend on the account running the Cacti web server and poller processes. Because Cacti is an open-source tool used to monitor the performance of servers, routers, switches, firewalls, and other network infrastructure, a compromise of the server could allow attackers to access other systems on a corporate network using stored credentials or SNMP passphrases. This zero-day is a significant risk to network security.

Mitigation and researcher grievances

The researcher also expressed frustration with how companies handle vulnerability disclosures and stated that security researchers get "gaslit" by billion dollar companies that treat disclosure like a PR problem. ek0ms savi0r also noted that companies often dismiss reports as duplicates, expected behavior, or issues that cannot be reproduced. In an Instagram post announcing the Cacti exploit, the researcher shared a video demonstration of the PoC and said that the vulnerability was not reported to Cacti before being released. "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," wrote the researcher.

Administrators must deactivate the Cacti guest account and restrict access to the application’s web interface to trusted networks. They should also review poller configurations for unexpected commands and examine application logs for warnings involving non-numeric values in graph display settings, which could indicate attempted exploitation. As of November 27, there are no reports of the vulnerability being exploited in attacks.