First published: Wed May 02 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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
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 | |
redhat/kernel | <0:2.6.18-92.1.18.el5 | 0:2.6.18-92.1.18.el5 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)