SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Firewall)  >   Pf Vendors:   OpenBSD
OpenBSD pf Bug in pf_test() Lets Remote Users Deny Service
SecurityTracker Alert ID:  1022032
SecurityTracker URL:  http://securitytracker.com/id/1022032
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Updated:  Apr 12 2009
Original Entry Date:  Apr 12 2009
Impact:   Denial of service via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A vulnerability was reported in OpenBSD pf. A remote user can cause denial of service conditions.

A remote user can send a specially crafted IP packet to trigger a null pointer dereference in the packet translation code, causing a kernel panic.

The vulnerability resides in 'sys/net/pf.c' in the pf_test() function.

The vendor was notified on April 9, 2009.

Rembrandt reported this vulnerability.

The original advisory is available at:

http://helith.net/txt/openbsd_4.3-current_pf_null_pointer_dereference_kernel_panic.txt

Impact:   A remote user can cause a kernel panic.
Solution:   The vendor has issued a fix.

Patch for OpenBSD 4.5:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.5/common/002_pf.patch

Patch for OpenBSD 4.4:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.4/common/013_pf.patch

Patch for OpenBSD 4.3:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.3/common/013_pf.patch

Vendor URL:  www.openbsd.org/ (Links to External Site)
Cause:   State error
Underlying OS:  UNIX (OpenBSD)
Underlying OS Comments:  4.3, 4.4, 4.5

Message History:   This archive entry has one or more follow-up message(s) listed below.
Jun 23 2009 (NetBSD Issues Fix) OpenBSD pf Bug in pf_test() Lets Remote Users Deny Service
NetBSD has issued a fix.



 Source Message Contents

Subject:  OpenBSD patch: pf nat/rdr of crafted datagram panics kernel

When pf attempts to perform translation on a specially crafted IP datagram
a null pointer dereference will occur, resulting in a kernel panic.
In certain configurations this may be triggered by a remote attacker.

Restricting translation rules to protocols that are specific to the IP version
in use is an effective workaround until the patch can be installed. As an
example, for IPv4 nat/binat/rdr rules you can use:

nat/rdr ... inet proto { tcp udp icmp } ...

Or for IPv6 nat/binat/rdr rules you can use:

nat/rdr ... inet6 proto { tcp udp icmp6 } ...

This issue has been fixed in -current. Source code patches are available for
OpenBSD 4.3, 4.4 and 4.5.

Patch for OpenBSD 4.5:
    ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.5/common/002_pf.patch

Patch for OpenBSD 4.4:
    ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.4/common/013_pf.patch

Patch for OpenBSD 4.3:
    ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.3/common/013_pf.patch

These patches are also available in the OPENBSD_4_5, OPENBSD_4_4 and
OPENBSD_4_3 patch branches.

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC