Cacti Zero-Day Vulnerability Allows Unauthenticated Remote Code Execution via Four HTTP Requests

A zero-day vulnerability in the Cacti network monitoring platform has been publicly disclosed along with a working proof-of-concept exploit. The flaw, tracked informally as 4HTTP2SHELL, enables unauthenticated attackers to achieve command execution on vulnerable servers using only four HTTP requests. Researcher ek0ms savi0r published technical details, the PoC, and a demonstration video in the Sad Girls 0day Club GitHub repository. The attack abuses weak input validation in guest user graph display settings, resulting in stored SQL injection that modifies the real-time poller configuration. Exploitation requires the guest account to be enabled but needs no credentials. Cacti Core 1.2.31 was confirmed vulnerable; administrators are advised to disable the guest account and restrict network access until a patch is released.

BleepingComputerTranslated from English

Read at source

A zero-day vulnerability in the Cacti network monitoring platform has been publicly disclosed, along with a proof-of-concept exploit that lets unauthenticated attackers execute commands on vulnerable servers.

The exploit, dubbed 4HTTP2SHELL (previously 4HTTP2ROOT), was published on Thanksgiving Day by cybersecurity researcher ek0ms savi0r from the Church of Malware. The researcher demonstrated how the vulnerability can be exploited using just four HTTP requests.

Cacti is an open-source network monitoring and graphing tool used to monitor the performance of servers, routers, switches, firewalls, and other network infrastructure. Because the software can store credentials and SNMP passphrases, compromising a Cacti server could give attackers access to other systems on a corporate network.

The researcher published a technical write-up, a proof-of-concept exploit, and a video in a GitHub repository named Sad Girls 0day Club. The vulnerability stems from weak input validation that allows an unauthenticated attacker to inject SQL statements into the application's database and modify commands executed by Cacti's real-time poller.

The attack requires the Cacti guest account to be enabled but does not require valid credentials. Cybersecurity firm watchTowr notes that privileges gained depend on the account running the Cacti web server and poller processes. In many deployments this may be a low-privileged web server account rather than root.

Cybersecurity firm RavenAI explains that the attack abuses weak validation of guest users' graph display settings, resulting in a stored SQL injection vulnerability. The researcher tested the exploit against Cacti Core 1.2.31, though it is unclear whether earlier versions are also vulnerable.

Until a patch is released, administrators are advised to deactivate the Cacti guest account and restrict access to the application's web interface to trusted networks. Administrators should also review poller configurations for unexpected commands and examine application logs for warnings involving non-numeric values in graph display settings.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulns & Exploits

Docker Sandboxes Flaw Allows Malicious Kits to Exfiltrate AI API Keys Without User Prompts
OFFIS DCMTK Toolkit Hit by Critical Missing Authorization and Partial String Comparison Flaws
CISA Warns of Critical Vulnerabilities in Nextgen Healthcare Mirth Connect Allowing Arbitrary Script Execution and Man-in-the-Middle Attacks