National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2009-1897 Detail

Description

The tun_chr_poll function in drivers/net/tun.c in the tun subsystem in the Linux kernel 2.6.30 and 2.6.30.1, when the -fno-delete-null-pointer-checks gcc option is omitted, allows local users to gain privileges via vectors involving a NULL pointer dereference and an mmap of /dev/net/tun, a different vulnerability than CVE-2009-1894.

Source:  MITRE      Last Modified:  07/20/2009

Quick Info

CVE Dictionary Entry:
CVE-2009-1897
Original release date:
07/20/2009
Last revised:
08/16/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
6.9 MEDIUM
Vector:
(AV:L/AC:M/Au:N/C:C/I:C/A:C) (legend)
Impact Subscore:
10.0
Exploitability Subscore:
3.4
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
Medium
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (09/02/2009)

Red Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2009-1897 The flaw only affects the Red Hat Enterprise Linux 5.4 beta kernel, which includes a backport of the upstream bug fix introducing this flaw (git commit 33dccbb0). This issue did not affect the final released Red Hat Enterprise Linux 5.4 kernel. It is also possible to mitigate this flaw by ensuring that the permissions for /dev/net/tun is restricted to root only. This issue does not affect any other released kernel in any Red Hat product.

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.

Hyperlink Resource Type Source Name
http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html External Source FULLDISC 20090716 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable
http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html External Source FULLDISC 20090716 Re: Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable
http://article.gmane.org/gmane.linux.network/124939 External Source MLIST [netdev] 20090409 Oops in tun: bisected to Limit amount of queued packets per device
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13 Exploit; Patch; Vendor Advisory External Source CONFIRM http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3c8a9c63d5fd738c261bd0ceece04d9c8357ca13
http://grsecurity.net/~spender/cheddar_bay.tgz Patch External Source MISC http://grsecurity.net/~spender/cheddar_bay.tgz
http://isc.sans.org/diary.html?storyid=6820 Exploit External Source MISC http://isc.sans.org/diary.html?storyid=6820
http://lkml.org/lkml/2009/7/6/19 Exploit External Source MLIST [linux-kernel] 20090706 Re: PROBLEM: tun/tap crashes if open() /dev/net/tun and then poll() it.
http://www.openwall.com/lists/oss-security/2009/07/17/1 External Source MLIST [oss-security] 20090717 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable
http://www.vupen.com/english/advisories/2009/1925 Patch; Vendor Advisory External Source VUPEN ADV-2009-1925
https://bugzilla.redhat.com/show_bug.cgi?id=512284 External Source CONFIRM https://bugzilla.redhat.com/show_bug.cgi?id=512284
https://exchange.xforce.ibmcloud.com/vulnerabilities/51803 External Source XF linux-kernel-tunchrpoll-code-execution(51803)

Technical Details

Vulnerability Type (View All)

Change History 3 change records found - show changes