Secunia Logo  
 
Sun Solaris ld.so Directory Traversal and Buffer Overflow
Secunia Advisory: SA23317
Release Date: 2006-12-13
Popularity: 7,839 views

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

OS:Sun Solaris 10
Sun Solaris 8
Sun Solaris 9

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6495


Description:
A vulnerability and a security issue have been reported in Sun Solaris, which can be exploited by malicious, local users to disclose sensitive information or potentially gain escalated privileges.

1) ld.so uses the LANG, LC_ALL, and LC_MESSAGES environment variables to load localised error messages. This can be exploited to leak information by loading malicious format specifiers via e.g. directory traversal sequences within the LANG environment variable.

Note: This vulnerability is limited to information disclosure, but in combination with the second vulnerability described below, this may be exploited to execute arbitrary code with escalated privileges.

2) A boundary error exists within the "doprf()" function in ld.so and can be exploited to cause a buffer overflow by passing specially crafted strings to the function. This can only be exploited by unprivileged users in combination with another vulnerability, like the directory-traversal attack mentioned above.

Solution:
Apply patches or interim security reliefs.

-- SPARC Platform --

Solaris 10:
Apply interim security relief IDR124828-01.

Solaris 9:
Apply patch 112963-27 or later.
http://sunsolve.sun.com/search/docume...setkey=urn:cds:docid:1-21-112963-27-1

Solaris 8:
Apply patch 109147-42 or later.
http://sunsolve.sun.com/search/docume...setkey=urn:cds:docid:1-21-109147-42-1

-- x86 Platform --

Solaris 10:
Apply interim security relief IDR124829-01.

Solaris 9:
Apply patch 113986-22 or later.
http://sunsolve.sun.com/search/docume...setkey=urn:cds:docid:1-21-113986-22-1

Solaris 8:
Apply patch 109148-41 or later.
http://sunsolve.sun.com/search/docume...setkey=urn:cds:docid:1-21-109148-41-1

Provided and/or discovered by:
1) Discovered by an anonymous person and reported via iDEFENSE.
2) Sean Larsson, iDefense Labs

Original Advisory:
iDefense Labs:
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=449
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=450

Sun Microsystems:
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102724-1


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

Today
New advisories: 4
New vulnerabilities: 13
Updated advisories: 5

Less // 58 views
Red Hat update for kernel
Less // 59 views
Ubuntu update for bind9
Less // 53 views
Ubuntu update for ntp
Less // 56 views
Red Hat update for bind

8th Jan, 2009
New advisories: 24
New vulnerabilities: 99
Updated advisories: 26


Solutions | More...  


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. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 45 views
2. Drupal Project Module File Upload and Cross-Site Scripting // 37 views
3. Sun Java JDK / JRE Multiple Vulnerabilities // 34 views
4. SmbFTPD Long Command Processing Vulnerability // 32 views
5. Ubuntu update for bind9 // 30 views
6. Red Hat update for kernel // 29 views
7. FreeBSD update for lukemftpd // 27 views
8. Cisco Global Site Selector DNS Request Denial of Service // 26 views
9. Ubuntu update for ntp // 26 views
10. Red Hat update for bind // 26 views