Hi all,
Yesterday one of my users was hacked very easy. He has picture gallery on his site. The gallery is open for anyone to register. The evil guy registered and uploaded a php shell with name:
ly.php.rar
And the stupid apache is parsing this as php file. It parses ahything like: something.php.aaa.bbb.ccc.ddd as php file. It is absolutely the same with .pl and .cgi scripts.
Does anyone of you guys knows how to disable this. I figured one way with mod_security and the following regex: SecFilterSelective THE_REQUEST ".*\.php\..*" . However I am interested if there is any other way to disable this.
My config is:
apache 1.3
php 4.4.2 as CGI



LinkBack URL
About LinkBacks
Reply With Quote
.




