DESCRIPTION

http://www.idefense.com/application/...shstatus=false

Remote exploitation of a denial of service (DoS) vulnerability in
FreeBSD's memory buffers (mbufs) could allow attackers to launch a DoS
attack.

By sending many out-of-sequence packets, a low bandwidth denial of
service attack is possible against FreeBSD. When the targeted system
runs out of memory buffers (mbufs), it is no longer able to accept or
create new connections.

III. ANALYSIS

Exploitation of this vulnerability requires that the targeted system has
at least one open TCP port.

The DoS will last until the port is closed, either by the attacker or
the target machine.

iDEFENSE has proof of concept exploit code demonstrating the impact of
this vulnerability.

IV. DETECTION

iDEFENSE has confirmed that this vulnerability exists in FreeBSD 5.1
(default install from media). FreeBSD has stated that all versions are
affected.

V. WORKAROUND

"It may be possible to mitigate some denial-of-service attacks by
implementing timeouts at the application level."

VI. VENDOR RESPONSE

"Do one of the following:

1) Upgrade your vulnerable system to 4-STABLE, or to the RELENG_5_2,
RELENG_4_9, or RELENG_4_8 security branch dated after the correction
date.

OR

2) Patch your present system:

The following patch has been verified to apply to FreeBSD 4.x and 5.x
systems.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

[FreeBSD 5.2] # fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CE...es/tcp52.patch # fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CE...cp52.patch.asc

[FreeBSD 4.8, 4.9] # fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CE...es/tcp47.patch # fetch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CE...cp47.patch.asc

b) Apply the patch.


# cd /usr/src # patch < /path/to/patch

c) Recompile your kernel as described in
<URL:http://www.freebsd.org/handbook/kernelconfig.html> and reboot the
system."