Secunia Logo
Netsikker nu! 2008
 
Linux Kernel IPv4 "sockaddr_in.sin_zero" Information Disclosure
Secunia Advisory: SA19357
Release Date: 2006-03-23
Last Update: 2006-05-31
Popularity: 12,854 views

Critical:
Not critical
Impact: Exposure of sensitive information
Where: Local system
Solution Status: Vendor Patch

OS:Linux Kernel 2.4.x
Linux Kernel 2.6.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-1342
CVE-2006-1343


Description:
Pavel Kankovsky has reported a weakness in the Linux kernel, which can be exploited by malicious, local users to disclose potentially sensitive information.

The weakness is caused due to the "sockaddr_in.sin_zero" array not being zeroed before being returned to user space programs calling certain socket functions to retrieve information about the specified socket. This can be exploited to disclose six uninitialised bytes of the kernel stack via calls to the "getsockopt()" function with the "SO_ORIGINAL_DST" option, or via calls to the "getsockname()", "getpeername()", and "accept()" functions.

The weakness has been reported in the 2.4 and 2.6 kernel branches.

NOTE: The weakness in the "getsockname()", "getpeername()", and "accept()" functions affect only the 2.4 kernel.

Solution:
Update to the fixed versions.
http://kernel.org/

Kernel 2.4.x:
Fixed in the CVS repositories.

Kernel 2.6.x:
Update to version 2.6.16.19.

Provided and/or discovered by:
Pavel Kankovsky

Changelog:
2006-05-31: Updated "Solution Status", "Solution" and "Original Advisory" sections.

Original Advisory:
http://marc.theaimsgroup.com/?l=linux-netdev&m=114148078223594&w=2

Kernel.org:
http://www.kernel.org/git/?p=linux/ke...3b3dcfa80c9094f1748c1be064b9326c9ef2b
http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.16.19
http://www.kernel.org/git/?p=linux/ke...91f6a4a11feb5794aef9307c428838129ea02


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. Debian update for lighttpd // 97 views
2. HP-UX NFS/ONCplus Denial of Service Vulnerability // 91 views
3. IBM Lotus Quickr Security Issues and Denial of Service // 87 views
4. iseemedia LPViewer ActiveX Control Multiple Buffer Overflow Vulnerabilities // 83 views
5. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 79 views
6. Kwalbum "UploaditemsPage.php" File Upload Vulnerability // 75 views
7. SUSE update for MozillaFirefox // 67 views
8. Serv-U File Renaming Directory Traversal and STOU Denial of Service // 49 views
9. VMware ESX Server Sun Java JDK / JRE Multiple Vulnerabilities // 45 views
10. Microsoft Windows Vista Page Fault Handling Denial of Service // 43 views