Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


OpenBSD ELF ld.so Environment Cleaning Vulnerability Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA22993  
Release Date: 2006-11-20
Last Update: 2006-11-30

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

OS:OpenBSD 3.x
OpenBSD 4.0


CVE reference:CVE-2006-6164 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


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



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.

86 Related Secunia Security Advisories, displaying 10

1. OpenBSD DNS Server PRNG Transaction ID Vulnerability
2. OpenBSD update for OpenSSL
3. OpenBSD dhcpd Buffer Overflow Vulnerability
4. OpenBSD Systrace and Sysjail Multiple Race Condition Vulnerabilities
5. OpenBSD update for file
6. OpenBSD IPv6 Type 0 Route Headers Denial of Service
7. OpenBSD update for X.Org
8. OpenBSD ICMP6 Packet "mbuf" Memory Corruption Vulnerability
9. OpenBSD ICMP6 Denial of Service Vulnerability
10. OpenBSD "vga" Privilege Escalation Vulnerability

Show all related 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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenBSD BIND Query Port DNS Cache Poisoning
2.
Ubuntu update for php
3.
Linux Kernel LDT Buffer Size Handling Vulnerability
4.
Drupal Session Fixation Vulnerability
5.
Red Hat update for kernel
6.
Slackware update for dnsmasq
7.
IPCop update for perl
8.
Fedora update for asterisk
9.
Red Hat update for thunderbird
10.
Debian update for xulrunner





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia