Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

‘4HTTP2SHELL’ Cacti Vulnerability Exploited in Attacks

The SQL injection bug could allow unauthenticated users to execute commands on the Cacti server.

Vulnerability exploited

Hackers started exploiting a high-severity Cacti vulnerability one day after proof-of-concept (PoC) exploit code was published online.

An open source network monitoring and graphing tool built on RRDtool, Cacti allows enterprises to collect and track data from network devices such as routers, servers, switches, and more.

Cacti Core version 1.2.31 was found vulnerable to a high-severity SQL injection bug that could allow an authenticated attacker with ‘Normal User’ permissions to gain administrator rights and arbitrary OS command execution. The flaw has a CVSS score of 8.8, but no CVE identifier yet.

“Any authenticated user holding the default ‘Normal User’ permissions obtains read/write access to the entire Cacti database as the application DB user. This yields administrator takeover and, through intended administrative features, remote command execution on the Cacti server,” Cacti said.

On Saturday, Cacti’s maintainers announced that patches have been released for the 1.2.31, 1.2.x, and ‘develop’ branches and will be included in version 1.2.32. They credited DevOps engineer Amdadul Bari for privately reporting the security defect on November 19.

On November 26, two days before Cacti’s advisory, another researcher published PoC exploit code chaining the vulnerability with ‘guest’ access and real-time graph handling. Cacti has had the guest account disabled by default since version 0.8.7.

Advertisement. Scroll to continue reading.

The exploit, initially called 4HTTP2ROOT and then renamed to 4HTTP2SHELL, allows an unauthenticated attacker to execute OS commands on the Cacti server. The exploit does not require an account or a valid session, turning the security hole into an unauthenticated attack.

4HTTP2SHELL has been tested on Cacti Core version 1.2.31 with the guest account enabled and involves four HTTP requests that turn the SQL injection into a shell.

“The four-request path is also quiet. A guest session is normal. A profile update is normal. A preview request is normal. A real-time graph request is normal. There is no upload, no exploit payload in a URL that looks like a shell, and no authentication event,” the researcher says.

“The attacker starts as an anonymous guest, writes an unvalidated value into a per-user display setting, and that value is later inserted into a database query that the server treats as more than one command. One of those extra commands changes a poller setting to a shell command, which a separate guest-reachable page then executes,” preemptive cybersecurity firm WatchTowr explains.

The first in-the-wild exploitation attempts targeting 4HTTP2SHELL occurred on November 27, Previdian and WatchTowr warn. Previdian observed nearly 1,800 attempts.

Organizations are advised to disable the guest account in their Cacti deployments, ensure the platform is only accessible from trusted networks, review unexpected changes to user settings, and enforce least privilege policies.

Related: Hex Package Manager Warns of Potential Data Breach

Related: Critical Juniper Session Smart Conductor Flaw Exploited in Attacks

Related: Mitel MiCollab Zero-Days Exploited in Suspected AI-Assisted Attacks

Related: Hackers Exploit Unpatched Flaw in Defunct Idunno AntiCsrf Library

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Cyber AI & Automation Summit pushes the boundaries of security discussions by exploring the implications and applications of predictive AI, machine learning, and automation in modern cybersecurity programs.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Jensen Huang has been reinstated as President and CEO at NVIDIA.

Lindsey Cerkovnik has joined Anthropic as Head of Vulnerability Disclosure and Security Community.

Kirsten Davies has been appointed National Cyber Director.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.