Users login

Create an account »


Users login

Home » Hacking News » Debian DSA 297-1: Snort stream4 integer overflow

Debian DSA 297-1: Snort stream4 integer overflow

by Nikola Strahija on May 5th, 2003 A vulnerabilty was discovered in the Snort stream4 preprocessor which, if exploited, could allow denial of service or arbitrary code execution.

Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 297-1 [email protected] Martin Schulze
May 1st, 2003
- --------------------------------------------------------------------------

Package : snort
Vulnerability : integer overflow, buffer overflow
Problem-Type : remote
Debian-specific: no
CVE Ids : CAN-2003-0033 CAN-2003-0209
CERT advisories: VU#139129 VU#916785
Bugtraq Ids : 7178 6963

Two vulnerabilities have been discoverd in Snort, a popular network
intrusion detection system. Snort comes with modules and plugins that
perform a variety of functions such as protocol analysis. The
following issues have been identified:

Heap overflow in Snort "stream4" preprocessor
(VU#139129, CAN-2003-0209, Bugtraq Id 7178)

Researchers at CORE Security Technologies have discovered a
remotely exploitable inteter overflow that results in overwriting
the heap in the "stream4" preprocessor module. This module allows
Snort to reassemble TCP packet fragments for further analysis. An
attacker could insert arbitrary code that would be executed as
the user running Snort, probably root.

Buffer overflow in Snort RPC preprocessor
(VU#916785, CAN-2003-0033, Bugtraq Id 6963)

Researchers at Internet Security Systems X-Force have discovered a
remotely exploitable buffer overflow in the Snort RPC preprocessor
module. Snort incorrectly checks the lengths of what is being
normalized against the current packet size. An attacker could
exploit this to execute arbitrary code under the privileges of the
Snort process, probably root.

For the stable distribution (woody) these problems have been fixed in
version 1.8.4beta1-3.1.

The old stable distribution (potato) is not affected by these problems
since it doesn't contain the problematic code.

For the unstable distribution (sid) these problems have been fixed in
version 2.0.0-1.

We recommend that you upgrade your snort package immediately.

You are also advised to upgrade to the most recent version of Snort,
since Snort, as any intrusion detection system, is rather useless if
it is based on old and out-dated data and not kept up to date. Such
installations would be unable to detect intrusions using modern
methods. The current version of Snort is 2.0.0, while the version in
the stable distribution (1.8) is quite old and the one in the old
stable distribution is beyond hope.

Since Debian does not update arbitrary packages in stable releases,
even Snort is not going to see updates other than to fix security
problems, you are advised to upgrade to the most recent version from
third party sources.

The Debian maintainer for Snort provides backported up-to-date
packages for woody (stable) and potato (oldstable) for cases where you
cannot upgrade your entire system. These packages are untested,
though and only exist for the i386 architecture:

deb ./
deb-src ./
deb ./
deb-src ./

Upgrade Instructions
- --------------------

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 3.0 alias woody
- --------------------------------

Source archives:
Size/MD5 checksum: 681 2186ab4fe2efad905f07fb9522f04597
Size/MD5 checksum: 67265 1f8ea5bc8a842626a30a2fb693398a16
Size/MD5 checksum: 1718574 80201d9c4e33af5e0b56121e4f9f7f7b

Architecture independent components:
Size/MD5 checksum: 344358 5d15c2a2ffc2e085a4dacfc8226ba336
Size/MD5 checksum: 59674 76c3416b6a5e97c4b82e984255ee62a6

Alpha architecture:
Size/MD5 checksum: 218862 e289d2ac6a97c3c729575af2608d62da
Size/MD5 checksum: 35798 7d1a116fc1c00006914e48019ba68a4b
Size/MD5 checksum: 222492 589db8d591013c098a4d51981464b21e

ARM architecture:
Size/MD5 checksum: 178156 f37eb2c6b75176be30aaae92cfd699ea
Size/MD5 checksum: 35820 4977d033364e56ec0d66266918b5ddfb
Size/MD5 checksum: 181128 d7d40fc33fd3e51b54e4293ed7617c70

Intel IA-32 architecture:
Size/MD5 checksum: 162048 f26f7562fae5f8761834d4cabe3ed17c
Size/MD5 checksum: 35802 548afa7fde8557dcd40bf235f38074dc
Size/MD5 checksum: 165354 911fd22a147390c8cf5d4694b4e2b18b

Intel IA-64 architecture:
Size/MD5 checksum: 271778 12be6ab4ac58909148a8c9625ebefb99
Size/MD5 checksum: 35798 57f0772e114cc1130c5c2639fc64be71
Size/MD5 checksum: 275284 a8489c8f41fa49d532c0afa67928ee61

HP Precision architecture:
Size/MD5 checksum: 201916 91c8ee56127b14c92736d7d418bc05ca
Size/MD5 checksum: 35816 a5718f767ebc93178eb820dc5a190579
Size/MD5 checksum: 205334 00eb158e0b034dbb6e16e42223f5855b

Motorola 680x0 architecture:
Size/MD5 checksum: 150320 3c205732845c14274bd9d8520f8ba806
Size/MD5 checksum: 35850 3b8e1da42a9c796a0ecf74f1e7ca2ac1
Size/MD5 checksum: 153552 f97f6f155c93f042f01a9f2e40aff91d

Big endian MIPS architecture:
Size/MD5 checksum: 198172 75e4fef830c00e952f05cf4139bc264f
Size/MD5 checksum: 35822 aadad43bcef00f74acc754302e3557fc
Size/MD5 checksum: 201404 9fa10daa290890849df6762b66825024

Little endian MIPS architecture:
Size/MD5 checksum: 199732 040b188aeb253aa4ec4a6903c3f6f792
Size/MD5 checksum: 35818 467f455bb8b2c59630470417673e9856
Size/MD5 checksum: 202972 755df8c2d9b7e2bc01fec9a0b2259f4d

PowerPC architecture:
Size/MD5 checksum: 174508 3b5d1ebec2d40949e49746b4365c0a81
Size/MD5 checksum: 35804 60575d5c1998634b6bb3d2a9696f95c6
Size/MD5 checksum: 177562 c8cdeaab4e7c41c01a435933103fe6dd

IBM S/390 architecture:
Size/MD5 checksum: 173002 ff71b2925e1020c278d7d33eed8f8e6d
Size/MD5 checksum: 35794 5207eb80204af25cdbd77dca4b6cc09e
Size/MD5 checksum: 176296 2cc04f18ee550e4595e1680b43c2bf3e

Sun Sparc architecture:
Size/MD5 checksum: 176202 6f1325e6c45e06d3f769b18a9ce98274
Size/MD5 checksum: 35806 91ada09e5b9386b803184417ecbd953c
Size/MD5 checksum: 179444 deb6b8580ef04cabecfec3972f4519dd

These files will probably be moved into the stable distribution on
its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list: [email protected]
Package info: `apt-cache show ' and

Version: GnuPG v1.2.1 (GNU/Linux)


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »