Vulnerability in Linux Kernel
CVE-2008-4210
fs/open.c in the Linux kernel before 2.6.22 does not properly strip setuid and setgid bits when there is a write to a file, which allows local users to gain the privileges of a different group, and obtain sensitive information or possibly have unspecified other impact, by creating an executable file in a setgid directory through the (1) truncate or (2) ftruncate function in conjunction with memory-mapped I/O.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.6 (Medium). Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.022, 82.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel — versions 2.2.27, 2.4.36, 2.4.36.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 41 other repositories (0xTo/linux-kernel-exploits, Al1ex/LinuxEelvation, albinjoshy03/linux-kernel-exploits, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22
- secunia.com/advisories/32485 (third-party-advisory)
- www.securityfocus.com/bid/31368 (Exploit, vdb-entry)
- git.kernel.org/
- secunia.com/advisories/32237 (third-party-advisory)
- RHSA-2008:0957 (vendor-advisory)
- RHSA-2008:0972 (vendor-advisory)
- [oss-security] 20080924 Re: CVE request: kernel: open() call allows setgid bit when user is not in new file's group (mailing-list)
- SUSE-SA:2008:056 (vendor-advisory)
- oval:org.mitre.oval:def:6386 (signature, vdb-entry)