CVE-2008-4210: Medium severity linux kernel vulnerability

Published May 2, 2007
·
Updated

Description of problem: When creating a file, open()/creat() allows the setgid bit to be set via the mode argument even when, due to the bsdgroups mount option or the file being created in a setgid directory, the new file's group is one which the user is not a member of. The user can then use ftruncate() and memory-mapped I/O to turn the new file into an arbitrary binary and thus gain the privileges of this group, since these operations do not clear the setgid bit.

Other sources

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.

Affected Software

31 affected componentsFixes available
redhat/kernel<0:2.6.18-92.1.18.el5
0:2.6.18-92.1.18.el5
Linux Linux kernel=2.6.18-rc3
Linux Linux kernel=2.6.18-rc2
Linux Linux kernel=2.4.36.6
Linux Linux kernel=2.6.18-rc5
Linux Linux kernel=2.6.18-rc4
Linux Linux kernel=2.6.21.6
Linux Linux kernel=2.4.36.2
Linux Linux kernel=2.6.20.16
Linux Linux kernel=2.6.19.4
Linux Linux kernel=2.6.20.21
Linux Linux kernel=2.4.36.1
Linux Linux kernel=2.6.20.17
Linux Linux kernel=2.6.21.5
Linux Linux kernel=2.4.36.4
Linux Linux kernel=2.6.20.20
Linux Linux kernel=2.4.36.3
Linux Linux kernel=2.6.20.18
Linux Linux kernel=2.6.19.7
Linux Linux kernel=2.6.20.19
Linux Linux kernel=2.6.18-rc7
Linux Linux kernel=2.4.36
Linux Linux kernel=2.6.19.6
Linux Linux kernel=2.6.18-rc6
Linux Linux kernel=2.6.19.5
Linux Linux kernel=2.6.18
Linux Linux kernel=2.4.36.5
Linux Linux kernel=2.2.27
Linux Linux kernel<=2.6.21.7
Linux Linux kernel=2.6.18-rc1
Linux Linux kernel=2.6

Event History

May 2, 2007
CVE Published
12:00 AM
Sep 24, 2008
Data Sourced
05:40 AM
DescriptionSeverityAffected Software
Sep 29, 2008
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2008-4210?

CVE-2008-4210 is classified as a medium severity vulnerability due to its potential to allow unauthorized file permissions.

2

How do I fix CVE-2008-4210?

To fix CVE-2008-4210, update the kernel to a version that includes the patch addressing this vulnerability.

3

Which systems are affected by CVE-2008-4210?

CVE-2008-4210 affects various Linux kernel versions, including 2.6.18 through 2.6.21.7 and several other specific versions.

4

Can CVE-2008-4210 be exploited remotely?

CVE-2008-4210 primarily requires local access to the system for exploitation, making it less of a remote threat.

5

What are the potential consequences of CVE-2008-4210?

Exploitation of CVE-2008-4210 could lead to unauthorized access to files by manipulating setgid permissions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203