HEAD requests force server down
Posted: Tue May 22, 2012 11:37 am
I have recieved a mail from my hosting company, that their server has been down, due to attacks on the site through HEAD-requests. The site runs 1.10.3 and modules are all running the latest version. The hosting company seems to think this is a weakness in CMSMS. It is presently fixed by them in the .htaccess file, by inserting these lines:
Can anything else be done to repel these attacks?
They look like this (x 100) in the server log:
Installed Modules:
CMSMailer: 2.0.2
ModuleManager: 1.5.3
MenuManager: 1.7.7
ThemeManager: 1.1.4
Search: 1.7
TinyMCE: 2.9.6
CGExtensions: 1.28.2
NMS: 2.4.3
Gallery: 1.5.3
Search: 1.7
CGSimpleSmarty: 1.5
CGFeedback: 1.5.4
AkismetCheck: 0.2.1
News: 2.12.3
CGBlog: 1.9.5
JQueryTools: 1.0.10
CGFeedMaker: 1.0.15
FileManager: 1.2.0
CGSmartImage: 1.8.2
CGFavs: 1.0.4
Config Information:
php_memory_limit: 128M
process_whole_template: false
output_compression: false
max_upload_size: 100000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension: .htm
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: da_DK.UTF-8
default_encoding: utf-8
admin_encoding: utf-8
set_names: false
Php Information:
phpversion: 5.2.6-1+lenny16
md5_function: Fra (Sand)
gd_version: 2
tempnam_function: Fra (Sand)
magic_quotes_runtime: Til (Falsk)
E_STRICT: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: Fra
safe_mode: Til (Falsk)
file_uploads: Fra (Sand)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: Kan ikke kontrolleres pga af at open_basedir er aktiv
session_use_cookies: Fra (Sand)
xml_function: Fra (Sand)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a
Code: Select all
RewriteCond %{THE_REQUEST} !^(POST|GET)\ /.*\ HTTP/1\.1$
RewriteRule .* - [F]
They look like this (x 100) in the server log:
Cms Version: 1.10.372.232.7.29 - - [22/May/2012:07:01:53 +0200] "HEAD /bevis-jeres-vard-imr.htm HTTP/1.0" 200 0 "-" "WordPress/3.4-beta4-20825; http://universalgeni.wordpress.com"
72.233.2.39 - - [22/May/2012:07:01:53 +0200] "HEAD /internationalt.htm HTTP/1.0" 200 0 "-" "WordPress/3.4-beta4-20825; http://universalgeni.wordpress.com"
72.232.7.29 - - [22/May/2012:07:01:53 +0200] "HEAD /bevis-jeres-vard-imr.htm HTTP/1.0" 200 0 "-" "WordPress/3.4-beta4-20825; http://universalgeni.wordpress.com"
Installed Modules:
CMSMailer: 2.0.2
ModuleManager: 1.5.3
MenuManager: 1.7.7
ThemeManager: 1.1.4
Search: 1.7
TinyMCE: 2.9.6
CGExtensions: 1.28.2
NMS: 2.4.3
Gallery: 1.5.3
Search: 1.7
CGSimpleSmarty: 1.5
CGFeedback: 1.5.4
AkismetCheck: 0.2.1
News: 2.12.3
CGBlog: 1.9.5
JQueryTools: 1.0.10
CGFeedMaker: 1.0.15
FileManager: 1.2.0
CGSmartImage: 1.8.2
CGFavs: 1.0.4
Config Information:
php_memory_limit: 128M
process_whole_template: false
output_compression: false
max_upload_size: 100000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension: .htm
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: da_DK.UTF-8
default_encoding: utf-8
admin_encoding: utf-8
set_names: false
Php Information:
phpversion: 5.2.6-1+lenny16
md5_function: Fra (Sand)
gd_version: 2
tempnam_function: Fra (Sand)
magic_quotes_runtime: Til (Falsk)
E_STRICT: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: Fra
safe_mode: Til (Falsk)
file_uploads: Fra (Sand)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: Kan ikke kontrolleres pga af at open_basedir er aktiv
session_use_cookies: Fra (Sand)
xml_function: Fra (Sand)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a