How to Protect Apache server from this attack

Posted by 501496270 on Server Fault See other posts from Server Fault or by 501496270
Published on 2010-04-18T11:12:20Z Indexed on 2010/04/18 11:23 UTC
Read the original article Hit count: 321

Filed under:
|
|
|

Is there a .htaccess solution against this attack

188.165.198.65 - - [17/Apr/2010:15:46:49 -0500] "GET /blog/2009/04/12/shopping-cart/?cart=../../../../../../../../../../../../../../../../etc/passwd%00 HTTP/1.1" 200 28114""Mozilla/4.0 (compatible; MSIE 7.0;Windows NT 5.1; .NET CLR 1"

my WordPress .htaccess is

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

# END WordPress

© Server Fault or respective owner

Related posts about apache

Related posts about .htaccess