First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 135112
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dax <gentoomail@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 135112 depends on: Show dependency tree
Bug 135112 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-06-01 00:22 0000
A large scale Snort evasion has been discovered by Blake Hartstein, a member of
the Demarc Threat Research Team.

The evasion technique allows an attack to bypass detection of "uricontent"
rules by adding a carriage return to the end of a URL, directly before the HTTP
protocol declaration.

This affects thousands of rules in the standard Snort base rule sets.

For example, in order to evade detection of an AwStats Vulnerability
(sid:3813), using netcat:

  $ perl -e'print "GET /awstats.pl?configdir=|backdoor\r http/1.0\r\n\r\n"'|nc
vulnerable.server 80

Due to the seriousness of this vulnerability, we have developed a patch for
public review. See below.

This patch addresses the carriage return bug and catches the known evasion
attempts but further research should be done to determine if there are any
other possible impacts of this bug. The detection for evasion is turned on by
default under all profiles but can also be used as a server configuration
option:


   -----HTTP Inspect Server Configuration----- 

   non_std_cr     <yes|no> 

   This option generates an alert when a non standard carriage return character
is detected in the URI.   

   -----end----- 
The patch was generated for Snort version 2.4.4 , and a pre-patched Snort 2.4.4
tarball as well as the diff file is available below:
\
http://www.demarc.com/files/patch_20060531/snort-2.4.4-demarc-patched.tar.gz
http://www.demarc.com/files/patch_20060531/snort-2.4.4-demarc-patch.diff

------- Comment #1 From Dax 2006-06-01 00:25:59 0000 -------
*** Bug 135113 has been marked as a duplicate of this bug. ***

------- Comment #2 From Dax 2006-06-01 00:35:24 0000 -------
Could the netmon herd test this and provid ebuilds, if needed?
thanks rgds
Daxomatic

------- Comment #3 From Markus Ullmann 2006-06-01 13:16:38 0000 -------
committed as 2.4.4-r1

------- Comment #4 From Markus Ullmann 2006-06-01 13:58:56 0000 -------
Please test and mark stable

As all were fine with 2.4.3-r1 already, this shouldn't be that big problem,
right?

------- Comment #5 From Andrea Barisani (RETIRED) 2006-06-01 16:36:13 0000 -------
I'd rather wait for snort.org patch rather than include the demarc one. It's
not
wise to mess with snort using third-party patches and snort.org is going to
release an official one on monday.

------- Comment #6 From Sune Kloppenborg Jeppesen 2006-06-02 06:23:37 0000 -------
netmon is this ready for stable marking or do you want to wait for the official
patch?

------- Comment #7 From Stefan Cornelius (RETIRED) 2006-06-02 12:19:15 0000 -------
fix seems to be incomplete, waiting for official upstream release that is
expected to come $soon

------- Comment #8 From Brett Edgar 2006-06-06 07:16:49 0000 -------
(In reply to comment #3)
> committed as 2.4.4-r1
> 

Not sure if I should make this a new bug or not, but the new snort-2.4.4-r1
which has made it into portage now has a dependency on net-libs/libpcap instead
of vitual/libpcap.  Some of us use the libpcap-ringbuffer ebuilds to get the
MMIO performance improvements (see bug 117898 for a libpcap-ringbuffer ebuild
that actually works...not sure why it hasn't made it into portage yet). 
Despite the original title of bug 117898, libpcap-ringbuffer should (and does)
provide virtual/libpcap.

------- Comment #9 From Sune Kloppenborg Jeppesen 2006-06-06 08:45:09 0000 -------
Back to ebuild to get this regression fixed.

Netmon please fix or comment.

------- Comment #10 From Markus Ullmann 2006-06-06 09:06:28 0000 -------
As 2.4.5 was just released, bumped now

also changed the dep to virtual back again

------- Comment #11 From Sune Kloppenborg Jeppesen 2006-06-06 10:42:24 0000 -------
Arches please test and mark stable.

------- Comment #12 From Markus Rothe 2006-06-06 11:26:08 0000 -------
stable on ppc64

------- Comment #13 From Tobias Scherbaum 2006-06-06 12:02:49 0000 -------
ppc stable

------- Comment #14 From Mark Loeser 2006-06-06 18:48:27 0000 -------
x86 done

------- Comment #15 From Thomas Cort (RETIRED) 2006-06-10 08:40:26 0000 -------
amd64 stable. sorry for the dely.

------- Comment #16 From Sune Kloppenborg Jeppesen 2006-06-10 08:50:28 0000 -------
Time for GLSA vote. I tend to vote YES.

------- Comment #17 From Andrea Barisani (RETIRED) 2006-06-10 09:16:48 0000 -------
I vote NO. The original advisory is over-hyped, this is a minor possible
evasion
which is not considered as a vulnerability by the vendor itself. It is a bug of
course but no glsa is necessary imho.

------- Comment #18 From Thierry Carrez (RETIRED) 2006-06-18 08:30:13 0000 -------
I tend to vote NO too. For example, a worm that would exploit awstats /and/
evade detection should have its own snort sig, rather than be caught by the
usual one...

------- Comment #19 From Sune Kloppenborg Jeppesen 2006-06-18 08:54:19 0000 -------
OK, let's kill this one without a GLSA.

First Last Prev Next    No search results available      Search page      Enter new bug