National Cyber Awareness System
Vulnerability Summary for CVE-2009-2691
Original release date:08/14/2009
Last revised:03/19/2012
Source:
US-CERT/NIST
Overview
The mm_for_maps function in fs/proc/base.c in the Linux kernel 2.6.30.4 and earlier allows local users to read (1) maps and (2) smaps files under proc/ via vectors related to ELF loading, a setuid process, and a race condition.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
2.9
Exploitability Subscore:
3.9
CVSS Version 2 Metrics:
Access Vector: Locally exploitable
Access Complexity: Low
Authentication: Not required to exploit
Impact Type:Allows unauthorized disclosure of information
Official Statement from Red Hat (11/04/2009)
The Red Hat Security Response Team has rated this issue as having moderate security impact.
We currently have no plans to fix this flaw in Red Hat Enterprise Linux 3, 4, and 5 as it is not possible to trigger the information leak if the suid_dumpable tunable is set to zero (which is the default).
It was addressed in Red Hat Enterprise MRG via: https://rhn.redhat.com/errata/RHSA-2009-1540.html
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: MLIST
Name: [linux-kernel] 20090710 [PATCH 2/2] mm_for_maps: take ->cred_guard_mutex to fix the race
Type: Patch Information
External Source: MLIST
Name: [linux-kernel] 20090710 [PATCH 1/2] mm_for_maps: shift down_read(mmap_sem) to the caller
Type: Patch Information
External Source: MLIST
Name: [linux-kernel] 20090623 [PATCH 1/1] mm_for_maps: simplify, use ptrace_may_access()
Type: Patch Information
External Source: FEDORA
Name: FEDORA-2009-9044
External Source: REDHAT
Name: RHSA-2009:1540
External Source: CONFIRM
Name: https://bugzilla.redhat.com/show_bug.cgi?id=516171
External Source: XF
Name: linux-kernel-mmformaps-info-disclosure(52401)
External Source: VUPEN
Name: ADV-2009-2246
Type: Advisory
External Source: BID
Name: 36019
External Source: MLIST
Name: [oss-security] 20090811 CVE-2009-2691 kernel: /proc/$pid/maps visible during initial setuid ELF loading
External Source: DEBIAN
Name: DSA-2005
External Source: SECUNIA
Name: 36501
External Source: SECUNIA
Name: 36265
Type: Advisory
External Source: MLIST
Name: [linux-kernel] 20090623 [PATCH 0/1] mm_for_maps: simplify, use ptrace_may_access()
External Source: CONFIRM
Name: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=704b836cbf19e885f8366bccb2e4b0474346c02d
External Source: CONFIRM
Name: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=13f0feafa6b8aead57a2a328e2fca6a5828bf286
External Source: CONFIRM
Name: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=00f89d218523b9bf6b522349c039d5ac80aa536d
Technical Details
- Information Leak / Disclosure (CWE-200)