what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

FreeBSD-SA-08-04.ipsec.txt

FreeBSD-SA-08-04.ipsec.txt
Posted Feb 14, 2008
Site security.freebsd.org

FreeBSD Security Advisory - The IPsec suite of protocols suffer from a null pointer dereference panic vulnerability.

tags | advisory, protocol
systems | freebsd
advisories | CVE-2008-1777
SHA-256 | 7627924aa435f05eb5d237fa62f10699d9b3b18134bb644e86b0a181d39e66ae

FreeBSD-SA-08-04.ipsec.txt

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=============================================================================
FreeBSD-SA-08:04.ipsec Security Advisory
The FreeBSD Project

Topic: IPsec null pointer dereference panic

Category: core
Module: ipsec
Announced: 2008-02-14
Credits: Takashi Sogabe, Tatuya Jinmei
Affects: FreeBSD 5.5
Corrected: 2008-02-14 11:49:39 UTC (RELENG_5, 5.5-STABLE)
2008-02-14 11:50:28 UTC (RELENG_5_5, 5.5-RELEASE-p19)
CVE Name: CVE-2008-0177

For general information regarding FreeBSD Security Advisories,
including descriptions of the fields above, security branches, and the
following sections, please visit <URL:http://security.FreeBSD.org/>.

I. Background

The IPsec suite of protocols provide network level security for IPv4
and IPv6 packets. FreeBSD includes software originally developed by
the KAME project which implements the various protocols that make up
IPsec.

II. Problem Description

There is an improper reference to a data structure in the processing of
IPsec packets, which can result in a NULL pointer being dereferenced.

III. Impact

A single specifically crafted IPv6 packet could cause the kernel to panic,
when the kernel had been configured to process IPsec and IPv6 traffic.

This requires IPSEC to be compiled into the kernel, it does not necessarily
have to be configured at that point.

IV. Workaround

No workaround is available, but kernels which does not include IPsec
support are not vulnerable. The GENERIC and SMP kernel configurations
distributed with FreeBSD releases do not include IPsec support.

V. Solution

Perform one of the following:

1) Upgrade your vulnerable system to 5-STABLE, or to the RELENG_5_5
security branch dated after the correction date.

2) To patch your present system:

The following patches have been verified to apply to FreeBSD 5.5 systems.

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

# fetch http://security.FreeBSD.org/patches/SA-08:04/ipsec.patch
# fetch http://security.FreeBSD.org/patches/SA-08:04/ipsec.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.

VI. Correction details

The following list contains the revision numbers of each file that was
corrected in FreeBSD.

Branch Revision
Path
- -------------------------------------------------------------------------
RELENG_5
src/sys/netinet6/ipcomp_input.c 1.7.4.2
RELENG_5_5
src/UPDATING 1.342.2.35.2.20
src/sys/conf/newvers.sh 1.62.2.21.2.21
src/sys/netinet6/ipcomp_input.c 1.7.4.1.4.1
- -------------------------------------------------------------------------

VII. References

http://www.kb.cert.org/vuls/id/110947
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0177

The latest revision of this advisory is available at
http://security.FreeBSD.org/advisories/FreeBSD-SA-08:04.ipsec.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iD8DBQFHtC0HFdaIBMps37IRAt5gAKCGnYEX3r7n0Dsypmfv2m1J9pgICwCfd6uH
Gy2w6OYNovnfrb7EN0jWCjM=
=jHy3
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

July 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    27 Files
  • 2
    Jul 2nd
    10 Files
  • 3
    Jul 3rd
    35 Files
  • 4
    Jul 4th
    27 Files
  • 5
    Jul 5th
    18 Files
  • 6
    Jul 6th
    0 Files
  • 7
    Jul 7th
    0 Files
  • 8
    Jul 8th
    28 Files
  • 9
    Jul 9th
    44 Files
  • 10
    Jul 10th
    24 Files
  • 11
    Jul 11th
    25 Files
  • 12
    Jul 12th
    11 Files
  • 13
    Jul 13th
    0 Files
  • 14
    Jul 14th
    0 Files
  • 15
    Jul 15th
    0 Files
  • 16
    Jul 16th
    0 Files
  • 17
    Jul 17th
    0 Files
  • 18
    Jul 18th
    0 Files
  • 19
    Jul 19th
    0 Files
  • 20
    Jul 20th
    0 Files
  • 21
    Jul 21st
    0 Files
  • 22
    Jul 22nd
    0 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close