Vigil@nce: Linux kernel, memory reading via AF_APPLETALK
August 2009 by Vigil@nce
A local attacker can create an AF_APPLETALK socket and use
getsockname(), in order to obtain 8 bytes coming from the kernel
memory.
Severity: 1/4
Consequences: data reading
Provenance: user shell
Means of attack: 1 attack
Ability of attacker: technician (2/4)
Confidence: confirmed by the editor (5/5)
Diffusion of the vulnerable configuration: high (3/3)
Creation date: 26/08/2009
IMPACTED PRODUCTS
– Linux kernel
DESCRIPTION OF THE VULNERABILITY
The kernel supports sockets of type AF_APPLETALK (AppleTalk).
The getsockname() function returns the name of a socket, and uses
atalk_getname() when the socket type is AF_APPLETALK.
However, atalk_getname() does not initialize the sat structure
before copying data, and returning them to user. The user thus
obtains 8 bytes coming from the kernel memory.
A local attacker can therefore create an AF_APPLETALK socket and
use getsockname(), in order to obtain 8 bytes coming from the
kernel memory.
CHARACTERISTICS
Identifiers: BID-36150, VIGILANCE-VUL-8977
http://vigilance.fr/vulnerability/Linux-kernel-memory-reading-via-AF-APPLETALK-8977