Secunia Security Advisory - Pavel Kankovsky has reported a weakness in the Linux kernel, which can be exploited by malicious, local users to disclose potentially sensitive information.
8ce3b3437cd5e75a5da2d4bdff4644ac5c4cf0394bd6ada0e310e812b24d1fbf
TITLE:
Linux Kernel IPv4 "sockaddr_in.sin_zero" Information Disclosure
SECUNIA ADVISORY ID:
SA19357
VERIFY ADVISORY:
https://secunia.com/advisories/19357/
CRITICAL:
Not critical
IMPACT:
Exposure of sensitive information
WHERE:
Local system
OPERATING SYSTEM:
Linux Kernel 2.6.x
https://secunia.com/product/2719/
Linux Kernel 2.4.x
https://secunia.com/product/763/
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:
The weakness have been fixed in the 2.4 kernel branch in the CVS
repositories.
Secunia is currently not aware of any official patches for the 2.6
kernel.
PROVIDED AND/OR DISCOVERED BY:
Pavel Kankovsky
ORIGINAL ADVISORY:
https://marc.theaimsgroup.com/?l=linux-netdev&m=114148078223594&w=2
Kernel.org:
https://www.kernel.org/git/?p=linux/kernel/git/marcelo/linux-2.4.git;a=commit;h=09d3b3dcfa80c9094f1748c1be064b9326c9ef2b
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
https://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
https://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------