CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2006-6164

The _dl_unsetenv function in loader.c in the ELF ld.so in OpenBSD 3.9 and 4.0 does not properly remove duplicate environment variables, which allows local users to pass dangerous variables such as LD_PRELOAD to loading processes, which might be leveraged to gain privileges.
Publish Date : 2006-11-28 Last Update Date : 2008-09-05
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.2
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access Admin
Vulnerability Type(s) Gain privileges
CWE ID CWE id is not defined for this vulnerability

- Products Affected By CVE-2006-6164

# Product Type Vendor Product Version Update Edition Language
1 OS Openbsd Openbsd 3.9 Version Details Vulnerabilities
2 OS Openbsd Openbsd 4.0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Openbsd Openbsd 2

- References For CVE-2006-6164

http://xforce.iss.net/xforce/xfdb/30441
XF openbsd-elf-privilege-escalation(30441)
http://www.matasano.com/log/592/finger-79tcp-mcdonald-dowd-and-schuh-challenge-part-2/
http://www.securityfocus.com/archive/1/archive/1/452371/100/0/threaded
BUGTRAQ 20061122 Lack of environment sanitization in the FreeBSD, OpenBSD, NetBSD dynamic loaders.
http://securitytracker.com/id?1017253
SECTRACK 1017253
http://www.securityfocus.com/archive/1/archive/1/452428/100/0/threaded
BUGTRAQ 20061123 Re: Lack of environment sanitization in the FreeBSD, OpenBSD, NetBSD dynamic loaders.
http://www.openbsd.org/errata.html#ldso
OPENBSD [4.0] 005: SECURITY FIX: November 19, 2006
http://www.openbsd.org/errata39.html#ldso
OPENBSD [3.9] 016: SECURITY FIX: November 19, 2006
http://www.securityfocus.com/bid/21188
BID 21188 OpenBSD LD.SO Local Environment Variable Clearing Vulnerability Release Date:2006-11-24
http://secunia.com/advisories/22993
SECUNIA 22993

- Metasploit Modules Related To CVE-2006-6164

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.