CVE-2008-4210

medium
New! CVE Severity Now Using CVSS v3

The calculated severity for CVEs has been updated to use CVSS v3 by default. CVEs that do not have a CVSS v3 score will fall back CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Description

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.

References

http://bugzilla.kernel.org/show_bug.cgi?id=8420

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.26.y.git;a=commit;h=7b82dc0e64e93f430182f36b46b79fcee87d3532

http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22

http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00007.html

http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html

http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00000.html

http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00001.html

http://rhn.redhat.com/errata/RHSA-2008-0972.html

http://secunia.com/advisories/32237

http://secunia.com/advisories/32344

http://secunia.com/advisories/32356

http://secunia.com/advisories/32485

http://secunia.com/advisories/32759

http://secunia.com/advisories/32799

http://secunia.com/advisories/32918

http://secunia.com/advisories/33201

http://secunia.com/advisories/33280

http://www.debian.org/security/2008/dsa-1653

http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22

http://www.mandriva.com/security/advisories?name=MDVSA-2008:220

http://www.openwall.com/lists/oss-security/2008/09/24/5

http://www.openwall.com/lists/oss-security/2008/09/24/8

http://www.redhat.com/support/errata/RHSA-2008-0787.html

http://www.redhat.com/support/errata/RHSA-2008-0957.html

http://www.redhat.com/support/errata/RHSA-2008-0973.html

http://www.securityfocus.com/bid/31368

http://www.ubuntu.com/usn/usn-679-1

https://bugzilla.redhat.com/show_bug.cgi?id=463661

https://exchange.xforce.ibmcloud.com/vulnerabilities/45539

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6386

https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9511

Details

Source: MITRE

Published: 2008-09-29

Updated: 2017-09-29

Type: CWE-264

Risk Information

CVSS v2

Base Score: 4.6

Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 3.9

Severity: MEDIUM

Vulnerable Software

Configuration 1

OR

cpe:2.3:o:linux:linux_kernel:2.2.27:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.4.36:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.4.36.1:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.4.36.2:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.4.36.3:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.4.36.4:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.4.36.5:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.4.36.6:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.18:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.18:rc1:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.18:rc2:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.18:rc3:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.18:rc4:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.18:rc5:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.18:rc6:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.18:rc7:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.19.4:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.19.5:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.19.6:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.19.7:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.20.16:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.20.17:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.20.18:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.20.19:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.20.20:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.20.21:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.21.5:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:2.6.21.6:*:*:*:*:*:*:*

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to 2.6.21.7 (inclusive)

Tenable Plugins

View all (25 total)

IDNameProductFamilySeverity
89116VMware ESX / ESXi Multiple Vulnerabilities (VMSA-2009-0014) (remote check)NessusMisc.
critical
67763Oracle Linux 3 : kernel (ELSA-2008-0973)NessusOracle Linux Local Security Checks
high
67762Oracle Linux 4 : kernel (ELSA-2008-0972)NessusOracle Linux Local Security Checks
medium
67758Oracle Linux 5 : kernel (ELSA-2008-0957)NessusOracle Linux Local Security Checks
high
60507Scientific Linux Security Update : kernel on SL3.x i386/x86_64NessusScientific Linux Local Security Checks
high
60497Scientific Linux Security Update : kernel on SL4.x i386/x86_64NessusScientific Linux Local Security Checks
medium
60488Scientific Linux Security Update : kernel on SL5.x i386/x86_64NessusScientific Linux Local Security Checks
high
59134SuSE 10 Security Update : Linux Kernel (x86_64) (ZYPP Patch Number 5735)NessusSuSE Local Security Checks
medium
59132SuSE 10 Security Update : Linux kernel (ZYPP Patch Number 5667)NessusSuSE Local Security Checks
high
43713CentOS 5 : kernel (CESA-2008:0957)NessusCentOS Local Security Checks
high
42179VMSA-2009-0014 : VMware ESX patches for DHCP, Service Console kernel, and JRE resolve multiple security issuesNessusVMware ESX Local Security Checks
high
41535SuSE 10 Security Update : Linux kernel (ZYPP Patch Number 5668)NessusSuSE Local Security Checks
high
37683Ubuntu 6.06 LTS / 7.10 / 8.04 LTS / 8.10 : linux, linux-source-2.6.15/22 vulnerabilities (USN-679-1)NessusUbuntu Local Security Checks
high
37341CentOS 4 : kernel (CESA-2008:0972)NessusCentOS Local Security Checks
medium
35323RHEL 2.1 : kernel (RHSA-2009:0001)NessusRed Hat Local Security Checks
high
35190RHEL 3 : kernel (RHSA-2008:0973)NessusRed Hat Local Security Checks
high
35186CentOS 3 : kernel (CESA-2008:0973)NessusCentOS Local Security Checks
high
35026SuSE 10 Security Update : Linux Kernel (x86) (ZYPP Patch Number 5734)NessusSuSE Local Security Checks
medium
34841RHEL 4 : kernel (RHSA-2008:0972)NessusRed Hat Local Security Checks
medium
34755openSUSE 10 Security Update : kernel (kernel-5751)NessusSuSE Local Security Checks
critical
34690RHEL 5 : kernel (RHSA-2008:0957)NessusRed Hat Local Security Checks
high
34392Debian DSA-1653-1 : linux-2.6 - denial of service/privilege escalationNessusDebian Local Security Checks
high
801460CentOS RHSA-2008-0973 Security CheckLog Correlation EngineGeneric
high
801459CentOS RHSA-2008-0972 Security CheckLog Correlation EngineGeneric
high
801458CentOS RHSA-2008-0957 Security CheckLog Correlation EngineGeneric
high