<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200703-01">
  <title>Snort: Remote execution of arbitrary code</title>
  <synopsis>
    The Snort DCE/RPC preprocessor contains a buffer overflow that could result
    in the remote execution of arbitrary code.
  </synopsis>
  <product type="ebuild">snort</product>
  <announced>February 23, 2007</announced>
  <revised>March 02, 2007: 02</revised>
  <bug>167730</bug>
  <access>remote</access>
  <affected>
    <package name="net-analyzer/snort" auto="yes" arch="*">
      <unaffected range="ge">2.6.1.3</unaffected>
      <vulnerable range="lt">2.6.1.3</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Snort is a widely deployed intrusion detection program.
    </p>
  </background>
  <description>
    <p>
    The Snort DCE/RPC preprocessor does not properly reassemble certain
    types of fragmented SMB and DCE/RPC packets.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker could send specially crafted fragmented SMB or
    DCE/RPC packets, without the need to finish the TCP handshake, that
    would trigger a stack-based buffer overflow while being reassembled.
    This could lead to the execution of arbitrary code with the permissions
    of the user running the Snort preprocessor.
    </p>
  </impact>
  <workaround>
    <p>
    Disable the DCE/RPC processor by commenting the 'preprocessor dcerpc'
    section in /etc/snort/snort.conf .
    </p>
  </workaround>
  <resolution>
    <p>
    All Snort users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=net-analyzer/snort-2.6.1.3&quot;</code>
  </resolution>
  <references>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5276">CVE-2006-5276</uri>
  </references>
  <metadata tag="requester" timestamp="Fri, 23 Feb 2007 17:25:01 +0000">
    falco
  </metadata>
  <metadata tag="submitter" timestamp="Tue, 27 Feb 2007 18:06:20 +0000">
    falco
  </metadata>
</glsa>