mailing list archives
Re: New Santy-Worm attacks *all* PHP-skripts
From: Paul Laudanski <zx () castlecops com>
Date: Sun, 26 Dec 2004 01:33:10 -0500 (EST)
On Sat, 25 Dec 2004, Paul Laudanski wrote:
Just in case the URL changes, the latter should still get all sorts of:
Naturally, the latter also filters on
I've been noticing some filters out there that may be a little too all
encompassing. Just giving a heads up.
I've seen some folks filtering the echr or esystem from the GET requests.
This is flawed, because they are often times preceded by
Where x is any character.
This turns into
Which is a concatenation in PHP, and the chr is a function call from php:
So filtering on echr or esystem is not valid, as e is part of the
hexadecimal code, and simply put, it can be replaced with another hex
code, then the echr filter would not match.
Filtering then on chr doesn't work either, because you can multiple false
Instead of focusing on the good characters, you need to focus on the bad
characters like the tick mark.
ALL SUCH INFORMATION, SOFTWARE, PRODUCTS, AND SERVICES ARE PROVIDED
"AS IS" WITHOUT WARRANTY OF ANY KIND. CASTLECOPS, ITS AFFILIATES,
AND/OR THEIR RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES
AND CONDITIONS WITH REGARD TO THIS INFORMATION, SOFTWARE, PRODUCTS,
AND SERVICES, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND
Paul Laudanski - Computer Cops, LLC. CEO & Founder
CastleCops(SM) - http://castlecops.com
Promoting education and health in online security and privacy.
Full-Disclosure - We believe in it.