<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200703-01 ] Snort: Remote execution of arbitrary code



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200703-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: Snort: Remote execution of arbitrary code
      Date: February 23, 2007
      Bugs: #167730
        ID: 200703-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The Snort DCE/RPC preprocessor contains a buffer overflow that could
result in the remote execution of arbitrary code.

Background
==========

Snort is a widely deployed intrusion detection program.

Affected packages
=================

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  net-analyzer/snort      < 2.6.1.3                      >= 2.6.1.3

Description
===========

The Snort DCE/RPC preprocessor does not properly reassemble certain
types of fragmented SMB and DCE/RPC packets.

Impact
======

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.

Workaround
==========

Disable the DCE/RPC processor by commenting 'preprocessor rpc_decode'
and 'include $RULE_PATH/rpc.rules' from /etc/snort/snort.conf .

Resolution
==========

All Snort users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-analyzer/snort-2.6.1.3"

References
==========

  [ 1 ] CVE-2006-5276
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5276

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200703-01.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: pgpoHQ7lS03aq.pgp
Description: PGP signature