CtrlPanel: Unauthenticated RCE using installer script
Title source: cnaExploitation Summary
CVE-2026-34234 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit.
AI-analyzed exploit summary This repository contains a functional exploit PoC for CVE-2026-34234, demonstrating command injection via a crafted HTTP POST request to the installer endpoint. The exploit leverages improper input validation in the 'key' parameter to execute arbitrary commands, verified by creating a proof file inside the container.
Description
CtrlPanel is open-source billing software for hosting providers. In versions 1.1.1 and prior, the web-based installer (public/installer/index.php) is vulnerable to unauthenticated Remote Code Execution (RCE) because it performs the install.lock check only after including and executing form handler files, leaving installer endpoints reachable on already-installed instances. The handlers also pass unsanitized user input directly into shell commands, allowing an attacker to submit crafted requests that execute arbitrary commands on the server. The vulnerability stems from two combined weaknesses: (1) premature form handler execution before the lock file gate, and (2) unsafe use of user input in shell command construction. This issue is reported to be actively exploited in the wild. The issue has been fixed in version 1.2.0.
Exploits (1)
This repository contains a functional exploit PoC for CVE-2026-34234, demonstrating command injection via a crafted HTTP POST request to the installer endpoint. The exploit leverages improper input validation in the 'key' parameter to execute arbitrary commands, verified by creating a proof file inside the container.
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H