Link to home
Start Free TrialLog in
Avatar of markej
markejFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Denial of Service Attacks

I've just had a request from an old client, (site created 8 yrs ago) that he's having a DOS problem, the site was one of my last asp sites and the info he has sent me is shown below.

Can anyone explain this? Help resolve it or is it a case of a rewrite to ASP.NET in which case I need help with the justification!

The attack scenario is thus:

"Some server sends a request like

index.php?option=com_product&controller=../../../../../../../../../../../../
../../../proc/self/environ%00

This makes your IIS server panic and it uses greater than 100% CPU! The type of request is a DOS (Denial of Service) attack, but it looks like a DOS attack for a Unix based machine, not a Windows machine, but it is crippling your server.

It's something to do with your server not being able to handle a "querystring" (to the right of the "?") with a multiple "up directory" ( the ".." parts) - or maybe just one "up directory".

I've been trying to find something that would redirect the above line to something else (or reject it), but not being successful.

I've heard that this problem can be caused by "bad code" - I've written a dummy index.php on your server, but the crash is caused *before* it even requests the index.php page - so I don't think it's a "bad coding" issue!"

Mark
ASKER CERTIFIED SOLUTION
Avatar of shalabhsharma
shalabhsharma
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
PHP version? IIS version? OS?
 I would suggest an upgrade of php and latest patches for IIS/OS.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of markej

ASKER

I'm not a Sys Admin, I offered my help to an old client and realised I was out of my depth and wanted some specific answers so I could instrhim on what to do!