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]

[Snort-sigs] SID:2229 - False positives

Subject: [Snort-sigs] SID:2229 - False positives
Date: Tue, 08 Feb 2005 17:27:50 -0600
<http://www.snort.org/snort-db/sid.html?sid=2229>

Rule: alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP viewtopic.php access"; flow:to_server,established; uricontent:"viewtopic.php"; reference:bugtraq,7979; reference:cve,2003-0486; reference:nessus,11767; classtype:web-application-attack; sid:2229; rev:4;)

Sid: 2229

Summary         This event is generated when an attempt is made to exploit a 
known
vulnerability in the PHP application phpBB.

Well, no. Actually this event is generated any time someone viewing a phpBB accesses a topic thread. At a minimum, there should be a second content check with *something* that involves the exploit code.

For example, if you access the BID - <http://www.securityfocus.com/bid/7979>
and look at the exploit code provided:
<http://downloads.securityfocus.com/vulnerabilities/exploits/phpbb_sql.pl>
you will see that it takes more than just viewtopic.php to exploit the vuln.

It requires viewtopic.php plus "?sid={somevalue}&topic_id={somevalue}" (all of which can be found in normal requests) *plus* some sql code.

ISTM this rule ought to *at least* look something like this:

Rule: alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP viewtopic.php access"; flow:to_server,established; uricontent:"viewtopic.php"; content:"select"; nocase; reference:bugtraq,7979; reference:cve,2003-0486; reference:nessus,11767; classtype:web-application-attack; sid:2229; rev:4;)

Or even better:

Rule: alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"WEB-PHP viewtopic.php access"; flow:to_server,established; uricontent:"viewtopic.php"; content:"select"; nocase; content: "from"; nocase; content: "where"; nocase; reference:bugtraq,7979; reference:cve,2003-0486; reference:nessus,11767; classtype:web-application-attack; sid:2229; rev:4;)

N'est pas?

Paul Schmehl (pauls@utdallas.edu)
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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>