If you need to find files / folders that have permissions set to 777 use the following:
Find all files in the system
find / -type f - perm 777
Find all directories in the system
find / -type -d perm 777
Find all files in the vhosts directory
find /var/www/vhosts/ -type -f perm 777
Find all directories in the vhosts directory
find /var/www/vhosts/ -type -d perm 777