
Scanner for vScalation (CVE-2021-22015) a Local Privilege Escalation in VMWare vCenter
The scanner is designed to check whether the file in question has write access to the “cis” group, and is there any user in that group that has shell access to the host.
For further explanation about CVE-2021-22015, please refer to our site here
• Credentials for a Linux (PhotonOS) vCenter host
• Shell access
chmod 777 ./CVE-2021-22015_scanner.sh
./CVE-2021-22015_scanner.sh
Results:

The code described in this advisory (the “Code”) is provided on an “as is” and “as available” basis and may contain bugs, errors, and other defects. You are advised to safeguard important data and to use caution. By using this Code, you agree that Pentera shall have no liability to you for any claims in connection with the Code. Pentera disclaims any and all warranties and any and all liability for any direct, indirect, incidental, punitive, exemplary, special or consequential damages, even if Pentera or its related parties are advised of the possibility of such damages. Pentera undertakes no duty to update the Code or this advisory.