Linux kernel ELF binfmt_elf loader mmap privilege escalation
| linux-elf-setuid-gain-privileges (18025) |
Description:
The Linux kernel ELF loader (binfmt_elf.c) could allow a local attacker to gain elevated privileges on the system, caused by improper handling of failed calls to the mmap function. An attacker could exploit this vulnerability to execute arbitrary code on the system.
Consequences:
Gain Privileges
Remedy:
For Trustix Secure Linux:
Upgrade to the latest kernel package, as listed below. Refer to Trustix Secure Linux Security Advisory #2004-0061 for more information. See References.
Trustix Secure Linux 2.2: 2.4.28-3tr or later
Trustix Secure Linux 2.1: 2.4.28-0.4tr or later
Trustix Secure Linux 2.0: 2.4.28-0.3tr or later
For TurboLinux:
Upgrade to the latest kernel package (2.6.8-3 or later), as listed in Turbolinux Security Advisory TLSA-2004-34. See References.
For Ubuntu Linux:
Upgrade to the latest linux-image package (2.6.8.1-16.1 or later), as listed in USN-30-1 November 18, 2004. See References.
For Red Hat Linux:
Refer to RHSA-2005:293-16, RHSA-2006:0190-5, or RHSA-2006:0191-9 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux (ia32el):
Refer to RHSA-2005:275-09 for patch, upgrade, or suggested workaround information. See References.
For SUSE Linux:
Upgrade to the latest kernel package, as listed in SUSE-SA:2004:042, 2004. See References.
For Gentoo Linux:
Upgrade to the latest version of cups (1.1.23_rc1 or later), as listed in GLSA 200412-25. See References.
For Debian GNU/Linux:
Refer to DSA-1070-1, DSA-1069-1, DSA-1067-1, or DSA-1082-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- CIAC Information Bulletin P-047: Red Hat Updated Kernel Packages.
- Full-Disclosure Mailing List, Wed Nov 10 2004 - 05:59:25 CST: Linux ELF loader vulnerabilities.
- Full-Disclosure Mailing List, Wed Nov 10 2004 - 21:12:03 CST: Re: Linux ELF loader vulnerabilities.
- Linux Kernel Web site: The Linux Kernel Archives.
- Trustix Secure Linux Security Advisory #2004-0061: Multiple vulnerabilities.
- BID-11646: Linux Kernel BINFMT_ELF Loader Local Privilege Escalation Vulnerabilities
- CVE-2004-1071: The binfmt_elf loader (binfmt_elf.c) in Linux kernel 2.4.x up to 2.4.27, and 2.6.x up to 2.6.8, does not properly handle a failed call to the mmap function, which causes an incorrect mapped image and may allow local users to execute arbitrary code.
- DSA-1067: kernel-source-2.4.16 -- several vulnerabilities
- DSA-1069: kernel-source-2.4.18 -- several vulnerabilities
- DSA-1070: kernel-source-2.4.19 -- several vulnerabilities
- DSA-1082: kernel-source-2.4.17 -- several vulnerabilities
- DSA-1286: linux-2.6 -- several vulnerabilities
- DSA-1304: kernel-source-2.6.8 -- several vulnerabilities
- MDKSA-2005:022: Updated kernel packages fix multiple vulnerabilities
- RHSA-2004-504: Updated Itanium kernel packages resolve security issues
- RHSA-2004-505: Updated kernel packages fix security vulnerability
- RHSA-2004-549: kernel security update
- RHSA-2005-275: ia32el security update
- RHSA-2005-293: kernel security update
- RHSA-2006-0190: kernel security update
- RHSA-2006-0191: kernel security update
- SA19607: SGI ProPack kernel Multiple Vulnerabilities
- SUSE-SA:2004:042: kernel: local and remote denial of service
- SUSE-SR:2004:002: SUSE Security Summary Report
- SUSE-SR:2004:003: SUSE Security Summary Report
Platforms Affected:
- Debian Debian Linux 3.0
- Debian Debian Linux 3.1
- Debian Debian Linux 4.0
- Gentoo Linux
- Linux Kernel 2.4.0 test11
- Linux Kernel 2.4.0 test9
- Linux Kernel 2.4.0 test8
- Linux Kernel 2.4.0 test7
- Linux Kernel 2.4.0 test6
- Linux Kernel 2.4.0 test5
- Linux Kernel 2.4.0 test4
- Linux Kernel 2.4.0
- Linux Kernel 2.4.0 test1
- Linux Kernel 2.4.0 test10
- Linux Kernel 2.4.0 test12
- Linux Kernel 2.4.0 test2
- Linux Kernel 2.4.0 test3
- Linux Kernel 2.4.1
- Linux Kernel 2.4.10
- Linux Kernel 2.4.11
- Linux Kernel 2.4.12
- Linux Kernel 2.4.13
- Linux Kernel 2.4.14
- Linux Kernel 2.4.15
- Linux Kernel 2.4.16
- Linux Kernel 2.4.17
- Linux Kernel 2.4.18 pre8
- Linux Kernel 2.4.18
- Linux Kernel 2.4.18 x86
- Linux Kernel 2.4.18 pre6
- Linux Kernel 2.4.18 pre2
- Linux Kernel 2.4.18 pre3
- Linux Kernel 2.4.18 pre4
- Linux Kernel 2.4.18 pre5
- Linux Kernel 2.4.18 pre7
- Linux Kernel 2.4.18 pre1
- Linux Kernel 2.4.19 pre5
- Linux Kernel 2.4.19 pre6
- Linux Kernel 2.4.19
- Linux Kernel 2.4.19 pre1
- Linux Kernel 2.4.19 pre2
- Linux Kernel 2.4.19 pre3
- Linux Kernel 2.4.19 pre4
- Linux Kernel 2.4.2
- Linux Kernel 2.4.20
- Linux Kernel 2.4.21 pre1
- Linux Kernel 2.4.21
- Linux Kernel 2.4.21 pre4
- Linux Kernel 2.4.21 pre7
- Linux Kernel 2.4.22
- Linux Kernel 2.4.23 pre9
- Linux Kernel 2.4.23
- Linux Kernel 2.4.23 ow2
- Linux Kernel 2.4.24 ow1
- Linux Kernel 2.4.24
- Linux Kernel 2.4.25
- Linux Kernel 2.4.26
- Linux Kernel 2.4.27
- Linux Kernel 2.4.27 pre1
- Linux Kernel 2.4.27 pre2
- Linux Kernel 2.4.27 pre3
- Linux Kernel 2.4.27 pre4
- Linux Kernel 2.4.27 pre5
- Linux Kernel 2.4.3
- Linux Kernel 2.4.4
- Linux Kernel 2.4.5
- Linux Kernel 2.4.6
- Linux Kernel 2.4.7
- Linux Kernel 2.4.8
- Linux Kernel 2.4.9
- Linux Kernel 2.6.0 test9-cvs
- Linux Kernel 2.6.0 test2
- Linux Kernel 2.6.0 test1
- Linux Kernel 2.6.0 test10
- Linux Kernel 2.6.0 test11
- Linux Kernel 2.6.0 test3
- Linux Kernel 2.6.0 test4
- Linux Kernel 2.6.0 test5
- Linux Kernel 2.6.0 test6
- Linux Kernel 2.6.0 test7
- Linux Kernel 2.6.0 test8
- Linux Kernel 2.6.0 test9
- Linux Kernel 2.6.0
- Linux Kernel 2.6.1 rc1
- Linux Kernel 2.6.1 rc2
- Linux Kernel 2.6.1
- Linux Kernel 2.6.3
- Linux Kernel 2.6.4
- Linux Kernel 2.6.5
- Linux Kernel 2.6.6 rc1
- Linux Kernel 2.6.6
- Linux Kernel 2.6.7 rc1
- Linux Kernel 2.6.7
- Linux Kernel 2.6.8 rc1
- Linux Kernel 2.6.8 rc2
- Linux Kernel 2.6.8 rc3
- Linux Kernel 2.6.8
- Linux Linux Kernel 2.6.2
- MandrakeSoft Mandrake Linux 10.0 AMD64
- MandrakeSoft Mandrake Linux 10.0
- MandrakeSoft Mandrake Linux 10.1
- MandrakeSoft Mandrake Linux 10.1 X86_64
- MandrakeSoft Mandrake Linux 9.2 AMD64
- MandrakeSoft Mandrake Linux 9.2
- MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 2.1
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Multi Network Firewall 8.2
- Novell Linux Desktop 9
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 AS
- RedHat Linux Advanced Workstation 2.1 Itanium
- RedHat RHEL Extras 3
- SuSE Linux Enterprise Server 8
- SuSE Linux Enterprise Server 9
- SUSE SuSE Linux 8.1
- SUSE SuSE Linux 8.2
- SUSE SuSE Linux 9.0
- SUSE SuSE Linux 9.1
- SUSE SuSE Linux 9.2
- SuSE SuSE Linux Desktop 1.0
- Trustix Secure Enterprise Linux 2.0
- Trustix Secure Linux 1.5
- Trustix Secure Linux 2.0
- Trustix Secure Linux 2.1
- Trustix Secure Linux 2.2
- Turbolinux Turbolinux 10 Server
Reported:
Nov 10, 2004
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
