Back Mezha Cacti zero-day disclosed with public exploit for unauthenticated command execution | Межа
Until a patch is released, administrators are advised to disable Cacti’s guest account and restrict access to its web interface to trusted networks.
A publicly disclosed zero-day in the Cacti network monitoring platform comes with a proof-of-concept exploit that lets unauthenticated attackers execute commands on vulnerable servers. The exploit, called “4HTTP2SHELL” and previously known as “4HTTP2ROOT,” was published on Thanksgiving Day by cybersecurity researcher ek0ms savi0r of the Church of Malware. The researcher demonstrated an attack using four HTTP requests.
This is reported by BleepingComputer .
Cacti is an open-source tool for monitoring and graphing the performance of servers, routers, switches, firewalls and other network infrastructure. It can store credentials and SNMP passphrases used to access or read data from monitored devices, so a compromised Cacti server could potentially give attackers access to other systems on a corporate network.
The researcher published a technical write-up, a proof-of-concept exploit and a demonstration video in a GitHub repository called “Sad Girls 0day Club.” The vulnerability stems from weak input validation that lets an unauthenticated attacker inject SQL statements into the application’s database and alter commands run by Cacti’s real-time poller. The attack requires the guest account to be enabled, but not valid credentials.
The exploit stores malicious SQL statements in a guest user’s graph display preferences. When Cacti processes those saved preferences, the statements can modify the poller’s configuration and cause it to run malicious operating system commands. Cybersecurity firm RavenAI described the issue as a stored SQL injection caused by weak validation of guest users’ graph display settings.
The researcher tested the exploit on Cacti Core 1.2.31; it is unclear whether earlier versions are also vulnerable. Although the demonstration showed root access to a vulnerable server, cybersecurity firm watchTowr said the privileges gained depend on the account running the Cacti web server and poller processes. In many deployments, that may be a low-privileged web server account rather than root.
In a separate post in the GitHub repository, ek0ms savi0r criticized how companies handle vulnerability disclosures, saying security reports had been dismissed or closed over the years as duplicates, expected behavior or issues that could not be reproduced. In an Instagram post announcing the exploit, the researcher shared a video demonstration and said the vulnerability had not been reported to Cacti before its release.
Administrators are also advised to review poller configurations for unexpected commands and check application logs for warnings non-numeric values in graph display settings, which could indicate an attempted exploit. As of November 27, there had been no reports of the vulnerability being exploited in attacks.
Microsoft warns of active zero-day attacks targeting SharePoint servers used by governments and businesses, urging urgent security updates to prevent data breaches.
A Pentagon personnel system breach exposed unencrypted personal records of 2.8 million living people and nearly 300,000 deceased, including Social Security numbers and military service details.
