Description
net/ipv4/af_inet.c in Linux kernel 2.4 does not clear sockaddr_in.sin_zero before returning IPv4 socket names from the (1) getsockname, (2) getpeername, and (3) accept functions, which allows local users to obtain portions of potentially sensitive memory.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- Linux Kernel 2.4.x/2.5.x/2.6.x - 'Sockaddr_In.Sin_Zero' Kernel Memory Disclosure EDB-27461 · local · Mar 23, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.kernel.org/git/?p=linux/kernel/git/marcelo/linux-2.4.git%3Ba=commit%3Bh=09d3b3dcfa80c9094f1748c1be064b9326c9ef2b
- ADV-2006-4502 vdb-entry
- RHSA-2006:0579 vendor-advisory
- 22875 third-party-advisory
- http://www.vmware.com/download/esx/esx-202-200610-patch.html
- 20061113 VMSA-2006-0008 - VMware ESX Server 2.0.2 Upgrade Patch 2 mailing-list
- 21035 third-party-advisory
- http://www.vmware.com/download/esx/esx-213-200610-patch.html
- SUSE-SA:2006:028 vendor-advisory
- RHSA-2006:0580 vendor-advisory
- http://www.vmware.com/download/esx/esx-254-200610-patch.html
- 19357 third-party-advisory
- 20061113 VMSA-2006-0006 - VMware ESX Server 2.5.3 Upgrade Patch 4 mailing-list
- 20398 third-party-advisory
- 20061113 VMSA-2006-0007 - VMware ESX Server 2.1.3 Upgrade Patch 2 mailing-list
- 17203 vdb-entry
- 20061113 VMSA-2006-0005 - VMware ESX Server 2.5.4 Upgrade Patch 1 mailing-list
- [linux-netdev] 20060304 BUG: Small information leak in SO_ORIGINAL_DST (2.4 and 2.6) and mailing-list