TITLE:
FreeBSD Kernel Memory Disclosure Vulnerabilities
SECUNIA ADVISORY ID:
SA18599
VERIFY ADVISORY:
http://secunia.com/advisories/18599/
CRITICAL:
Less critical
IMPACT:
Exposure of sensitive information
WHERE:
Local system
OPERATING SYSTEM:
FreeBSD 5.x
http://secunia.com/product/1132/
FreeBSD 6.x
http://secunia.com/product/6778/
DESCRIPTION:
Two vulnerabilities have been reported in FreeBSD, which can be
exploited to malicious, local users to gain knowledge of potentially
sensitive information.
1) An error in the ioctl mechanism causes uninitalised kernel stack
memory to be copied to user-space buffers. This discloses kernel
memory content, which may contain sensitive information such as
passwords.
2) An error in the ioctl mechanism when calculating buffer sizes can
cause too much data to be copied into user-space buffers and
discloses kernel memory content.
The vulnerabilities have been reported in version 5.4-STABLE and 6.0.
SOLUTION:
Update FreeBSD or apply patch.
Fixed versions:
2006-01-25 10:00:59 UTC (RELENG_6, 6.0-STABLE)
2006-01-25 10:01:26 UTC (RELENG_6_0, 6.0-RELEASE-p4)
2006-01-25 10:01:47 UTC (RELENG_5, 5.4-STABLE)
Patch for FreeBSD 5.4-STABLE and 6.0-STABLE:
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-06:06/kmem.patch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-06:06/kmem.patch.asc
Patch for FreeBSD 6.0-RELEASE:
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-06:06/kmem60.patch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-06:06/kmem60.patch.asc
PROVIDED AND/OR DISCOVERED BY:
The vendor credits Xin LI and Karl Janmar.
ORIGINAL ADVISORY:
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:06.kmem.asc
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.