OpenBSD rtlabel_id2name() NULL Return Value Lets Local Users Deny Service
|
|
SecurityTracker Alert ID: 1019188 |
|
SecurityTracker URL: http://securitytracker.com/id/1019188
|
|
CVE Reference:
CVE-2008-0384
(Links to External Site)
|
Updated: Jan 28 2008
|
Original Entry Date: Jan 14 2008
|
Impact:
Denial of service via local system
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 4.2
|
Description:
A vulnerability was reported in OpenBSD. A local user can cause denial of service conditions.
Return values from the rtlabel_id2name() function are not properly validated. A local user can cause a NULL value to be returned by using the SIOCGIFRTLABEL ioctl on an interface with no route label assigned to trigger a kernel panic.
Only version 4.2 is affected.
Chris Cappuccio reported this vulnerability.
|
Impact:
A local user can cause a kernel panic.
|
Solution:
The vendor has issued a patch, available at:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.2/common/005_ifrtlabel.patch
The OpenBSD advisory is available at:
http://openbsd.org/errata42.html
|
Vendor URL: openbsd.org/errata42.html (Links to External Site)
|
Cause:
State error
|
Underlying OS:
|
|
Message History:
None.
|
Source Message Contents
|
Date: Fri, 11 Jan 2008 18:05:34 +0100
Subject: errata 005 for OpenBSD 4.2: local users can provoke a kernel panic
|
--AzNpbZlgThVzWita
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Summary:
Improper checks in an ioctl can lead to a kernel panic.
Details:
recently added calls to rtlabel_id2name() for "ifconfig rtlabel"=20
did not properly check the return value before using it.
rtlabel_id2name can return NULL if there is no label assigned
or the ID is invalid.
Impact:
local users can cause a kernel panic by using the SIOCGIFRTLABEL
ioctl on interfaces with no route label assigned.
ifconfig does not use that ioctl.
Workaround:
none
Fix:
A fix has been committed to OpenBSD-current and the OpenBSD 4.2-stable
branch.
A patch for OpenBSD 4.2 will appear at the URL below shortly.
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.2/common/005_ifrtlabel.patch
Older OpenBSD versions are not affected.
Credits:
The bug was found by Chris Cappuccio who also provided an initial=20
fix. The final fix was done by Henning Brauer.
--AzNpbZlgThVzWita
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (OpenBSD)
iD8DBQFHh6HeqmHuiTqD3zIRApKfAJ4t7wvyjKP0mrYmWI61fkTTtIw6TwCfVlUM
pfjZ3SITnwCq1WpB/RMk8bY=
=u3zQ
-----END PGP SIGNATURE-----
--AzNpbZlgThVzWita--
|
|