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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-4220 PoC — Chamilo LMS Unauthenticated Big Upload File Remote Code Execution

Source
Associated Vulnerability
Title: Chamilo LMS Unauthenticated Big Upload File Remote Code Execution (CVE-2023-4220)
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.
Readme
# Chamilo-LMS-CVE-2023-4220-Exploit

## Description


This exploit demonstrates an Unrestricted file upload vulnerability in Chamilo-LMS. The vulnerability affects the big file upload functionality located at:
```
/main/inc/lib/javascript/bigupload/inc/bigUpload.php
```

**Affected Versions**: Chamilo LMS <= v1.11.24

The vulnerability allows arbitrary files to be uploaded to:
```
/main/inc/lib/javascript/bigupload/files/
```

## Vulnerability POC

### Step 1: Initial Setup
First, make the exploit executable and view usage information:
```bash
chmod +x CVE-2023-4220.sh
./CVE-2023-4220.sh
```

### Step 2: Execute Exploit
Run the exploit with required parameters:
```bash
./CVE-2023-4220.sh -f reverse_file -h host_link -p port_in_the_reverse_file
```

### Step 3: Verification
Verify the uploaded file at:
```
http://target.test/main/inc/lib/javascript/bigupload/files/
```

## Usage

### Command Options
- `-f`: Specify the file to upload
- `-h`: Target host URL
- `-p`: Port number for connection

### Example Usage
```bash
./CVE-2023-4220.sh -f shell.php -h http://target.test -p 4444
```

## Important Notes

- Tool for security research only
- Obtain proper authorization before testing
- Test only in authorized environments
- Follow responsible disclosure practices

## Technical Details

The vulnerability exists in the file upload mechanism of Chamilo LMS that fails to properly validate uploaded files in the big file upload functionality.

### Affected Component
```
/main/inc/lib/javascript/bigupload/inc/bigUpload.php
```

### File Storage Location
```
/main/inc/lib/javascript/bigupload/files/
```


## References

- [CVE-2023-4220](https://nvd.nist.gov/vuln/detail/CVE-2023-4220)
- [Chamilo LMS Official Documentation](#)

File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →