CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2009-1897

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.
Publish Date : 2009-07-20 Last Update Date : 2017-08-16
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.9
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) OverflowGain privileges
CWE ID 119

- Vendor Statements

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.
Source: Redhat

- Products Affected By CVE-2009-1897

# Product Type Vendor Product Version Update Edition Language
1 OS Linux Linux Kernel 2.6.30 RC1 Version Details Vulnerabilities
2 OS Linux Linux Kernel 2.6.30 RC6 Version Details Vulnerabilities
3 OS Linux Linux Kernel 2.6.30 RC4 X86 32 Version Details Vulnerabilities
4 OS Linux Linux Kernel 2.6.30 RC2 Version Details Vulnerabilities
5 OS Linux Linux Kernel 2.6.30 RC3 Version Details Vulnerabilities
6 OS Linux Linux Kernel 2.6.30 RC5 Version Details Vulnerabilities
7 OS Linux Linux Kernel 2.6.30 Version Details Vulnerabilities
8 OS Linux Linux Kernel 2.6.30 Rc7-git6 Version Details Vulnerabilities
9 OS Linux Linux Kernel 2.6.30.1 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Linux Linux Kernel 9

- References For CVE-2009-1897

https://exchange.xforce.ibmcloud.com/vulnerabilities/51803
XF linux-kernel-tunchrpoll-code-execution(51803)
https://bugzilla.redhat.com/show_bug.cgi?id=512284 CONFIRM
http://www.vupen.com/english/advisories/2009/1925
VUPEN ADV-2009-1925
http://lkml.org/lkml/2009/7/6/19
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
MLIST [oss-security] 20090717 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable
http://article.gmane.org/gmane.linux.network/124939
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 CONFIRM
http://isc.sans.org/diary.html?storyid=6820
http://grsecurity.net/~spender/cheddar_bay.tgz
http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0246.html
FULLDISC 20090716 Re: Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable
http://archives.neohapsis.com/archives/fulldisclosure/2009-07/0241.html
FULLDISC 20090716 Linux 2.6.30+/SELinux/RHEL5 test kernel 0day, exploiting the unexploitable

- Metasploit Modules Related To CVE-2009-1897

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.