OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[SA13352] FreeBSD procfs/linprocfs Process Argument Vector Handling Vulnerability

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Thu Dec 02 2004 - 06:37:28 CST


TITLE:
FreeBSD procfs/linprocfs Process Argument Vector Handling
Vulnerability

SECUNIA ADVISORY ID:
SA13352

VERIFY ADVISORY:
http://secunia.com/advisories/13352/

CRITICAL:
Less critical

IMPACT:
Exposure of system information, Exposure of sensitive information,
DoS

WHERE:
Local system

OPERATING SYSTEM:
FreeBSD 5.x
http://secunia.com/product/1132/
FreeBSD 4.x
http://secunia.com/product/139/

DESCRIPTION:
A vulnerability has been reported in FreeBSD, which can be exploited
by malicious, local users to gain knowledge of sensitive information
or cause a DoS (Denial of Service).

The vulnerability is caused due to an error in
"/proc/curproc/cmdline" of the procfs file system and
"/proc/self/cmdline" of the linprocfs file system when reading an
argument vector from a process address space. This can be exploited
to disclose parts of kernel memory or crash a vulnerable system.

Successful exploitation requires that the procfs or linprocfs file
system is mounted.

NOTE: "/proc/self/cmdline" is not implemented in FreeBSD 4.x.

SOLUTION:
Update to a fixed version or apply patches.

The vulnerability has been fixed in the following versions:
* 2004-12-01 21:33:35 UTC (RELENG_5, 5.3-STABLE)
* 2004-12-01 21:34:23 UTC (RELENG_5_3, 5.3-RELEASE-p2)
* 2004-12-01 21:34:43 UTC (RELENG_5_2, 5.2.1-RELEASE-p13)
* 2004-12-01 21:33:57 UTC (RELENG_4, 4.10-STABLE)
* 2004-12-01 21:35:10 UTC (RELENG_4_10, 4.10-RELEASE-p5)
* 2004-12-01 21:35:57 UTC (RELENG_4_8, 4.8-RELEASE-p27)

Patch for FreeBSD 4.8 and 4.10:
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:17/procfs4.patch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:17/procfs4.patch.asc

Patch for FreeBSD 5.2 and 5.3:
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:17/procfs5.patch
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-04:17/procfs5.patch.asc

PROVIDED AND/OR DISCOVERED BY:
Bryan Fulton and Ted Unangst.

ORIGINAL ADVISORY:
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-04%3A17.procfs.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.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------