Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Snort-Signatures
[Top] [All Lists]

Re: [Snort-sigs] Awstats Remote Code Execution

Subject: Re: [Snort-sigs] Awstats Remote Code Execution
Date: Tue, 25 Jan 2005 12:47:13 -0600
On Tue, 2005-01-25 at 12:49 +0000, Chas Tomlin wrote:
http://www.k-otik.com/exploits/20050124.awexpl.c.php

alert tcp $EXTERNAL_NET any -> $HOME_NET 80 (msg:"Awstats Remote Code
Execution Attempt"; flow: from_client; pcre:"/awstats.pl\?configdir=/i";
classtype:web-application-attack;sid:3000621; rev:1;)

I guess it could use uricontent instead of a pcre.

That's easily done. The a previous post by Nigel.

I have committed a modified version to the Bleeding rules:

alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS 80 (msg:"BLEEDING-EDGE
EXPLOIT Awstats Remote Code Execution Attempt"; flow:established,
from_client; pcre:"/awstats.pl\?configdir=/iU";
classtype:web-application-attack;sid:2001686; rev:1;)

Note the /iU at the end of the pcre. /U will match on URL decoded
strings.

Regards,
Frank

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>