An open API service indexing awesome lists of open source software.

https://github.com/chocapikk/cyberpanel

CyberPanel v2.3.6 Pre-Auth RCE Exploit Tool
https://github.com/chocapikk/cyberpanel

Last synced: 7 months ago
JSON representation

CyberPanel v2.3.6 Pre-Auth RCE Exploit Tool

Awesome Lists containing this project

README

          

# ๐ŸŒ CyberPanel v2.3.6 Pre-Auth RCE Exploit Tool

CyberPanel v2.3.6 Pre-Auth RCE Exploit leverages a critical Remote Code Execution vulnerability in CyberPanel version 2.3.6. Thanks to [DreyAndโ€™s exceptional work](https://dreyand.rs/code/review/2024/10/27/what-are-my-options-cyberpanel-v236-pre-auth-rce), this vulnerability is well-documented and thoroughly explained.

> โญ **Donโ€™t forget to [follow DreyAnd on GitHub](https://github.com/DreyAnd) for more security insights and tools.** His contributions are invaluable to the security community!

---

### ๐Ÿ” Overview

The exploit targets the **`/dataBases/upgrademysqlstatus`** endpoint, which mishandles the `statusfile` parameter, allowing unauthorized command execution on the target server.

- ๐Ÿ“ข Check out [LeakIXโ€™s latest update on exploitable CyberPanel instances](https://x.com/leak_ix/status/1850949064826745202).
- ๐Ÿ”— **See over [22,000 results on LeakIX](https://leakix.net/) related to CyberPanel**.

---

### โš™๏ธ Features

- ๐Ÿ’ป **Interactive Shell** for on-the-fly command execution on a target server.
- ๐Ÿ“‚ **Bulk Exploitation** with multithreading for multiple targets.
- ๐Ÿ“ **Output File Support** for saving results during bulk operations.

---

### ๐Ÿ› ๏ธ Installation

1. **Clone this repository**:
```bash
git clone https://github.com/Chocapikk/CyberPanel
cd CyberPanel
```

2. **Install dependencies**:
```bash
pip install -r requirements.txt
```

---

### ๐Ÿš€ Usage

Run the tool with the options provided below.

**Basic Commands**:

- **Single target in interactive mode**
```bash
python exploit.py -u http://example.org
```

- **Multiple targets from a file with output**
```bash
python exploit.py -f targets.txt -o results.txt -t 10 "uname -a"
```

### โš ๏ธ Disclaimer

This tool is intended solely for educational purposes and authorized security testing. **Unauthorized use of this tool on systems without explicit permission from the owner is illegal and unethical.** The developer assumes no liability or responsibility for misuse or damage caused by this tool.

**Use responsibly and only on systems you own or have explicit permission to test.**