Secunia Logo  
 
OpenBSD ELF ld.so Environment Cleaning Vulnerability
Secunia Advisory: SA22993
Release Date: 2006-11-20
Last Update: 2006-11-30
Popularity: 8,219 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Vendor Patch

OS:OpenBSD 3.x
OpenBSD 4.0

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6164


Description:
A vulnerability has been reported in OpenBSD, which can be exploited by malicious, local users to gain escalated privileges.

The vulnerability is caused due to the "_dl_unsetenv()" function of the OpenBSD dynamic loader failing to properly sanitise the environment. This can be exploited to gain escalated privileges by calling suid "root" binaries with specially crafted environment variables.

Solution:
Apply patch.

OpenBSD 4.0:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/4.0/common/005_ldso.patch

OpenBSD 3.9:
ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.9/common/016_ldso.patch

Provided and/or discovered by:
Reported by Mark Dowd, John McDonald and Justin Schuh.

Changelog:
2006-11-23: Added additional information.
2006-11-30: Added CVE reference.

Original Advisory:
http://www.openbsd.org/errata.html#ldso

http://lists.grok.org.uk/pipermail/full-disclosure/2006-November/050829.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Mambo "GLOBALS['mosConfig_absolute_path']" File Inclusion // 27 views
2. Drupal Project Module File Upload and Cross-Site Scripting // 27 views
3. Internet Explorer Data Binding Memory Corruption Vulnerability // 23 views
4. Cisco Global Site Selector DNS Request Denial of Service // 22 views
5. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 22 views
6. ArticleBeach Script "page" File Inclusion Vulnerability // 21 views
7. SmbFTPD Long Command Processing Vulnerability // 21 views
8. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 19 views
9. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 19 views
10. PHP-Fusion Members CV Module "sortby" SQL Injection Vulnerability // 17 views