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. |

| Subject: | Re: [Snort-sigs] |3B|id |
|---|---|
| Date: | Mon, 27 Sep 2004 20:37:52 -0400 |
On 0, Worthy <listy@home.olsztyn.pl> allegedly wrote:
Hello, Can somebody could tell me what is that rule looking for?
http://www.snort.org/snort-db/sid.html?sid=1333
alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-ATTACKS id command attempt"; flow:to_server,established; content:"|3B|id"; nocase; classtype:web-application-attack; sid:1333; rev:6;) What means "|3B|id" string?
3B is the Hex code for the character ";". Which means the rule looks for
attempts to run the command "id" which can occur in something like this:
http://www.foo.com/bar/somescript?input;id
The character ";" can be used on Unix/Linux style systems to enable more
than one command to be processed on a command line. Say something like
this:
#> ls; id
So if your script does not correctly sanitize user input or allows for the
addition of user supplied data to a POST/GET request for example, the
command "id" could be run and would return data on the user running the
webserver.
All alerts triggered by that rule are for PHP-Nuke 6.0. The query is POST /index.php , should I need to worry?
Does the script have something like index.php&foo;id in it as a POST parameter? Are your $EXTERNAL_NET and $HTTP_SERVERS variables set correctly?
-- Best regards, Worthy mailto: listy@home.olsztyn.pl
+-------------------------------------------------------------------------+ ,,_ Nigel Houghton Research Engineer Sourcefire Inc. o" )~ Vulnerability Research Team '''' "Dude, dolphins are intelligent and friendly!" - Wendy "Intelligent and friendly on rye bread, with some mayonaise." - Cartman +-------------------------------------------------------------------------+ ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Snort-sigs mailing list Snort-sigs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-sigs
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Snort-sigs] New Bleedingsnort.com Rulesets!!!, Matt Jonkman |
|---|---|
| Next by Date: | [Snort-sigs] |3B|id, Worthy |
| Previous by Thread: | [Snort-sigs] |3B|id, Worthy |
| Next by Thread: | Re: [Snort-sigs] |3B|id, Daniel Roelker |
| Indexes: | [Date] [Thread] [Top] [All Lists] |