Linux 2.4 Kernel '/proc/self' Error May Disclose Sensitive Information to Local Users
SecurityTracker Alert ID: 1007251|
SecurityTracker URL: http://securitytracker.com/id/1007251
(Links to External Site)
Updated: Dec 3 2003|
Original Entry Date: Jul 22 2003
Disclosure of system information, Disclosure of user information|
Vendor Confirmed: Yes |
A vulnerability was reported in the '/proc' filesystem of the Linux 2.4 kernel. A local user may be able to view sensitive information on the system.|
It is reported that a local user can exploit a flaw in the '/proc' filesystem to execute a set user id (setuid) program and view opened entries in '/proc/self'. The files can be viewed with setuid privileges.
A local user may be able to view opened files in '/proc/self' with setuid privileges.|
It is not clear if an upstream fix is available yet. Fixes for individual kernel distributions are pending. Check the Message History for fixes from various kernel vendors.|
Vendor URL: www.kernel.org/ (Links to External Site)
Access control error|
This archive entry has one or more follow-up message(s) listed below.|
Source Message Contents
Subject: Linux 2.4 Kernel Vulnerabilities|
Red Hat reported the following security vulnerabilities in the Linux 2.4 Kernel:
CAN-2003-0461: /proc/tty/driver/serial reveals the exact character counts
for serial links. This could be used by a local attacker to infer password
lengths and inter-keystroke timings during password entry.
CAN-2003-0462: Paul Starzetz discovered a file read race condition existing
in the execve() system call, which could cause a local crash.
CAN-2003-0464: A recent change in the RPC code set the reuse flag on
newly-created sockets. Olaf Kirch noticed that his could allow normal
users to bind to UDP ports used for services such as nfsd.
CAN-2003-0476: The execve system call in Linux 2.4.x records the file
descriptor of the executable process in the file table of the calling
process, allowing local users to gain read access to restricted file
CAN-2003-0501: The /proc filesystem in Linux allows local users to obtain
sensitive information by opening various entries in /proc/self before
executing a setuid program. This causes the program to fail to change the
ownership and permissions of already opened entries.
CAN-2003-0550: The STP protocol is known to have no security, which could
allow attackers to alter the bridge topology. STP is now turned off by
CAN-2003-0551: STP input processing was lax in its length checking, which
could lead to a denial of service.
CAN-2003-0552: Jerry Kreuscher discovered that the Forwarding table could
be spoofed by sending forged packets with bogus source addresses the same
as the local host.
Red Hat issued fixed versions based on the 2.4.20 kernel. It is not clear which upstream
kernel version(s) contain these fixes. See the Red Hat advisory RHSA-2003:238-01 for
information on the Red Hat fixes.