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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:Chamilo LMS 安全漏洞 (CVE-2023-4220)
Description:Chamilo LMS是Chamilo协会的一套开源的在线学习和协作系统。该系统支持创建教学内容、远程培训和在线答题等。 Chamilo LMS v1.11.24 版本及之前版本存在安全漏洞,该漏洞源于 “/main/inc/lib/javascript/bigupload/inc/bigUpload.php”页面存在大文件上传功能存在不受限制的文件上传。
Description
Chamilo LMS Unauthenticated Big Upload File that allows remote code execution
Readme
# CVE-2023-4220-Proof-of-concept
Chamilo LMS Unauthenticated Big Upload File that allows remote code execution

CODE IS MADE AND USED FOR HACKTHEBOX CTF PERMX

Unauthenticated  file upload in big file upload functionality in /main/inc/lib/javascript/bigupload/inc/bigUpload.php in Chamilo LMS <= v1.11.24 that lets us upload any file to the server
allowing us to upload a php reverse shell

This script allows us to get a reverse shell by creating the php shell file,
uploading it on the server and starting a netcat listener

usage: python exploit.py <LOCAL_IP_ADDRESS> <PORT>

the php reverse shell code is used form pentestmonkey
https://github.com/pentestmonkey/php-reverse-shell/blob/master/php-reverse-shell.php


File Snapshot

[4.0K] /data/pocs/04df3dcd6dc2e2b15f9c24479cc81d1dfdd28e85 ├── [3.9K] exploit.py └── [ 720] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.