Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-46818 PoC — ISPConfig 安全漏洞

Source
Associated Vulnerability
Title:ISPConfig 安全漏洞 (CVE-2023-46818)
Description:ISPConfig是一套基于Linux的开源主机控制面板,它可通过Web控制面板管理多台服务器、开设网站、监控服务器运行状况等。 ISPConfig 3.2.11p1 之前版本存在安全漏洞,该漏洞源于如果启用了 admin_allow_langedit,管理员可以在语言文件编辑器中实现 PHP 代码注入。
Description
CVE-2023-46818 | PoC | ISPConfig 3.2.11p1
Readme

# CVE-2023-46818 - ISPConfig PHP Code Execution | Exploit

## High Remote Code Execution in ISPConfig    
### PoC implementation.

---

## Resume

ISPConfig versions <= 3.2.11 are vulnerable to an authenticated PHP code injection vulnerability via the records[] parameter in the /admin/language_edit.php endpoint.

---

## 🛠 Technical Breakdown

This endpoint does not properly validate user input. An attacker with valid credentials can submit a specially crafted request to the language editing functionality, injecting PHP code that gets written to a file on the server (commonly shell.php). This allows the attacker to execute arbitrary commands on the server, potentially leading to full system compromise. To mitigate this vulnerability, it is recommended to apply the latest ISPConfig updates and restrict access to the admin panel.

---

## 🔥 Vulnerable Endpoint

`http://<target>/admin/language_edit.php` — ISPConfig vulnerable endpoint

---

### 🚀 Launching the Exploit

Run the exploit script CVE-2024-47533.py.

```bash
python3 CVE-2023-46818.py -u <url> -U <username> -P <password>
```

### 💻 Successful Remote Shell Access

Upon successful execution, the reverse shell will connect back to the machine, granting the attacker remote access to the server.
File Snapshot

[4.0K] /data/pocs/8c47d731dbae5c8a6af0e64212b35fec7a188bba ├── [4.1K] CVE-2023-46818.py └── [1.3K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.