Linux kernel ELF binfmt_elf loader mmap privilege escalation

linux-elf-setuid-gain-privileges (18025) The risk level is classified as HighHigh Risk

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.

Platforms Affected:

  • Debian, Debian Linux 3.0
  • Debian, Debian Linux 3.1
  • Debian, Debian Linux 4.0
  • Gentoo, Linux
  • Linux, Kernel 2.4.0 test5
  • Linux, Kernel 2.4.0 test4
  • 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
  • Linux, Kernel 2.4.0 test1
  • Linux, Kernel 2.4.0 test10
  • Linux, Kernel 2.4.0 test11
  • Linux, Kernel 2.4.0 test3
  • Linux, Kernel 2.4.0 test2
  • Linux, Kernel 2.4.0 test12
  • 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 pre7
  • Linux, Kernel 2.4.18 pre6
  • Linux, Kernel 2.4.18 pre5
  • Linux, Kernel 2.4.18
  • Linux, Kernel 2.4.18 x86
  • Linux, Kernel 2.4.18 pre4
  • Linux, Kernel 2.4.18 pre3
  • Linux, Kernel 2.4.18 pre2
  • Linux, Kernel 2.4.18 pre1
  • Linux, Kernel 2.4.18 pre8
  • 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.19 pre5
  • Linux, Kernel 2.4.19 pre6
  • Linux, Kernel 2.4.2
  • Linux, Kernel 2.4.20
  • Linux, Kernel 2.4.21
  • Linux, Kernel 2.4.21 pre1
  • Linux, Kernel 2.4.21 pre4
  • Linux, Kernel 2.4.21 pre7
  • Linux, Kernel 2.4.22
  • Linux, Kernel 2.4.23
  • Linux, Kernel 2.4.23 pre9
  • 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 pre2
  • Linux, Kernel 2.4.27 pre1
  • Linux, Kernel 2.4.27 pre3
  • Linux, Kernel 2.4.27
  • Linux, Kernel 2.4.27 pre5
  • Linux, Kernel 2.4.27 pre4
  • 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 test8
  • Linux, Kernel 2.6.0 test7
  • Linux, Kernel 2.6.0 test6
  • Linux, Kernel 2.6.0 test5
  • Linux, Kernel 2.6.0 test4
  • Linux, Kernel 2.6.0 test3
  • Linux, Kernel 2.6.0 test2
  • Linux, Kernel 2.6.0 test9
  • Linux, Kernel 2.6.0 test9-cvs
  • Linux, Kernel 2.6.0 test11
  • Linux, Kernel 2.6.0
  • Linux, Kernel 2.6.0 test1
  • Linux, Kernel 2.6.0 test10
  • Linux, Kernel 2.6.1 rc2
  • Linux, Kernel 2.6.1 rc1
  • Linux, Kernel 2.6.1
  • Linux, Kernel 2.6.2
  • Linux, Kernel 2.6.3
  • Linux, Kernel 2.6.4
  • Linux, Kernel 2.6.5
  • Linux, Kernel 2.6.6
  • Linux, Kernel 2.6.6 rc1
  • Linux, Kernel 2.6.7
  • Linux, Kernel 2.6.7 rc1
  • Linux, Kernel 2.6.8
  • Linux, Kernel 2.6.8 rc1
  • Linux, Kernel 2.6.8 rc2
  • Linux, Kernel 2.6.8 rc3
  • MandrakeSoft, Mandrake Linux 10.0 AMD64
  • MandrakeSoft, Mandrake Linux 10.0
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux 10.1
  • 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 WS
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 3 WS
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 Desktop
  • 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

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.

Consequences:

Gain Privileges

References:

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 xforce@iss.net

Return to the main page