
Non sono riuscito a trovare un PoC per CVE-2023-30253, quindi ne ho sviluppato uno efficace.
CVE-2023-30253 PoC
Questa è la mia PoC per la CVE-2023-30253 (Dolibarr 17.0.0 PHP Code Injection): quando il plugin CMS Website (core) è abilitato, un attaccante autenticato può ottenere l'esecuzione remota di comandi tramite iniezione di codice PHP, bypassando le restrizioni dell'applicazione.
Clona il repository:
git clone https://github.com/g4nkd/CVE-2023-30253-PoC.git
cd CVE-2023-30253-PoC
pip install -r requirements.txt
python3 exploit.py -h
usage: exploit.py [-h] -lhost LHOST -lport LPORT -rhost RHOST -user USER -pass PASSWORD
Exploit for CVE-2023-30253
options:
-h, --help show this help message and exit
-lhost LHOST Local Host (this host will receive the shell)
-lport LPORT Local PORT
-rhost RHOST Rhost url, example: http://site.com/
-user USER Username for Dolibarr
-pass PASSWORD Password for Dolibarr