SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  OS (Linux)  >  Linux Kernel Vendors:  kernel.org
(Debian Issues Fix) Linux Kernel do_mremap() Fails to Check do_munmap() Return Values, Allowing a Local User to Gain Root Privileges
SecurityTracker Alert ID:  1009113
CVE Reference:  CAN-2004-0077   (Links to External Site)
Date:  Feb 18 2004
Impact:  Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): Debian 3.0
Description:  Another vulnerability was reported in the Linux kernel do_mremap() function. A local user can execute arbitrary code with root privileges.

Paul Starzetz discovered and reported that there is a missing return value check within the mremap(2) system call.

When resizing or moving virtual memory areas, the function reportedly does not test the return value of the do_munmap() function. Cases where the function fails (for example, due to the number of virtual memory areas being exceeded by the calling process) will not be properly detected, according to the report. As a result, the kernel may move memory belonging to one process into memory space that is allocated to another process.

Some other calls to the do_munmap() function are also not checked, the report said.

A local user can gain root privileges on the target system.

The original advisory is available at:

http://isec.pl/vulnerabilities/isec-0014-mremap-unmap.txt

Impact:  A local user can gain root privileges on the target system.
Solution:  Debian has released a fix for the stable distribution (woody) in version 2.4.26/20040204 of lart, netwinder and riscpc image and in version 20040204 of kernel-patch-2.4.16-arm. The vendor reports that the m68k architecture is not affected.

A fix for the unstable distribution (sid) will be issued soon.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/k/kernel-p atch-2.4.16-arm/kernel-patch-2.4.16-arm_20040204.dsc
Size/MD5 checksum: 562 7bd0b443e490132da8f26188ca560f75
http://security.debian.org/pool/updates/main /k/kernel-patch-2.4.16-arm/kernel-patch-2.4.16-arm_20040204.tar.gz
Size/MD5 checksum: 579045 853b5f05e03217dfb47f28cf852dca4c

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-lart/kernel-image-2.4.16-lart_20040204.dsc
Size/MD5 checksum: 586 e2cb96946739cfffd4327ae1e218a982
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-lart/kernel-image-2.4.16-lart_20040204.tar.gz

Size/MD5 checksum: 16443 9b5b8c8311cc6ba23abc2e121882281a

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-netwinder/kernel-image-2.4.1 6-netwinder_20040204.dsc
Size/MD5 checksum: 624 d2258e373574684da142a45ecfc4312f
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-netwi nder/kernel-image-2.4.16-netwinder_20040204.tar.gz
Size/MD5 checksum: 21783 fc07fb8db829045ef9a8ee6881e1af48

http://security.debian.org/pool/updates/main /k/kernel-image-2.4.16-riscpc/kernel-image-2.4.16-riscpc_20040204.dsc
Size/MD5 checksum: 592 f2252946f185d1c52796a68a1d442cb0
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-riscpc/kernel-image-2.4.16-riscpc_20040204.tar.gz
Size/MD5 checksum: 19104 144bfd5b87a5daccf879049334b24bcd

Architecture independent components:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.16-ar m/kernel-patch-2.4.16-arm_20040204_all.deb
Size/MD5 checksum: 583148 6a4951879008cc3d882d6a30112d0cbc

ARM architecture:

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-lart/kernel-image-2.4.16-lart_20040204_arm.deb
Size/MD5 checksum: 717092 eb20d52fed79cfe95981f1838bc38e0c

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-netwinder/kernel-headers-2.4.16_20040204_arm .deb
Size/MD5 checksum: 3421140 3e0dfbdcb48437ab733d43c92deb0157
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-netwinder/kernel-image-2. 4.16-netwinder_20040204_arm.deb
Size/MD5 checksum: 6671136 72f1f771e847c593e83179b6dbda4074

http://security.debian.org/pool/updates/main/k/kernel-image-2.4 .16-riscpc/kernel-image-2.4.16-riscpc_20040204_arm.deb
Size/MD5 checksum: 2910348 c4fab31d10a137738aeb722eb7358488

Vendor URL:  www.kernel.org/ (Links to External Site)
Cause:  Boundary error
Underlying OS:  Linux (Debian)
Reported By:  joey@infodrom.org (Martin Schulze)
Message History:   This archive entry is a follow-up to the message listed below.
Feb 18 2004 Linux Kernel do_mremap() Fails to Check do_munmap() Return Values, Allowing a Local User to Gain Root Privileges



 Source Message Contents

Date:  Wed, 18 Feb 2004 14:52:06 +0100 (CET)
From:  joey@infodrom.org (Martin Schulze)
Subject:  [SECURITY] [DSA 439-1] New Linux 2.4.16 packages fix several local root exploits (arm)

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 439-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
February 18th, 2004                     http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : kernel-image-2.4.16-lart, kernel-image-2.4.16-netwinder,  kernel-image-2.4.16-riscpc
, kernel-patch-2.4.16-arm Vulnerability : several vulnerabilities Problem-Type : local Debian-specific: no CVE ID : CAN-2003-0961 CAN-2003-0985 CAN-2004-0077 Several local root exploits have been discovered recently in the Linux kernel. This security advisory updates the PowerPC/Apus kernel for Debian GNU/Linux. The Common Vulnerabilities and Exposures project identifies the following problems that are fixed with this update: CAN-2003-0961: An integer overflow in brk() system call (do_brk() function) for Linux allows a local attacker to gain root privileges. Fixed upstream in Linux 2.4.23. CAN-2003-0985: Paul Starzetz discovered a flaw in bounds checking in mremap() in the Linux kernel (present in version 2.4.x and 2.6.x) which may allow a local attacker to gain root privileges. Version 2.2 is not affected by this bug. Fixed upstream in Linux 2.4.24. CAN-2004-0077: Paul Starzetz and Wojciech Purczynski of isec.pl discovered a critical security vulnerability in the memory management code of Linux inside the mremap(2) system call. Due to missing function return value check of internal functions a local attacker can gain root privileges. Fixed upstream in Linux 2.4.25 and 2.6.3. For the stable distribution (woody) this problem has been fixed in version 2.4.26/20040204 of lart, netwinder and riscpc image and in version 20040204 of kernel-patch-2.4.16-arm. Other architectures will probably mentioned in a separate advisory or are not affected (m68k). For the unstable distribution (sid) these problems will be fixed soon. We recommend that you upgrade your Linux kernel packages immediately. Upgrade Instructions - -------------------- wget url will fetch the file for you dpkg -i file.deb will install the referenced file. If you are using the apt-get package manager, use the line for sources.list as given below: apt-get update will update the internal database apt-get upgrade will install corrected packages You may use an automated update by adding the resources from the footer to the proper configuration. Debian GNU/Linux 3.0 alias woody - -------------------------------- Source archives: http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.16-arm/kernel-patch-2.4.16-arm_20
040204.dsc Size/MD5 checksum: 562 7bd0b443e490132da8f26188ca560f75 http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.16-arm/kernel-patch-2.4.16-arm_20
040204.tar.gz Size/MD5 checksum: 579045 853b5f05e03217dfb47f28cf852dca4c http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-lart/kernel-image-2.4.16-lart_
20040204.dsc Size/MD5 checksum: 586 e2cb96946739cfffd4327ae1e218a982 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-lart/kernel-image-2.4.16-lart_
20040204.tar.gz Size/MD5 checksum: 16443 9b5b8c8311cc6ba23abc2e121882281a http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-netwinder/kernel-image-2.4.16-
netwinder_20040204.dsc Size/MD5 checksum: 624 d2258e373574684da142a45ecfc4312f http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-netwinder/kernel-image-2.4.16-
netwinder_20040204.tar.gz Size/MD5 checksum: 21783 fc07fb8db829045ef9a8ee6881e1af48 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-riscpc/kernel-image-2.4.16-ris
cpc_20040204.dsc Size/MD5 checksum: 592 f2252946f185d1c52796a68a1d442cb0 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-riscpc/kernel-image-2.4.16-ris
cpc_20040204.tar.gz Size/MD5 checksum: 19104 144bfd5b87a5daccf879049334b24bcd Architecture independent components: http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.16-arm/kernel-patch-2.4.16-arm_20
040204_all.deb Size/MD5 checksum: 583148 6a4951879008cc3d882d6a30112d0cbc ARM architecture: http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-lart/kernel-image-2.4.16-lart_
20040204_arm.deb Size/MD5 checksum: 717092 eb20d52fed79cfe95981f1838bc38e0c http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-netwinder/kernel-headers-2.4.1
6_20040204_arm.deb Size/MD5 checksum: 3421140 3e0dfbdcb48437ab733d43c92deb0157 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-netwinder/kernel-image-2.4.16-
netwinder_20040204_arm.deb Size/MD5 checksum: 6671136 72f1f771e847c593e83179b6dbda4074 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.16-riscpc/kernel-image-2.4.16-ris
cpc_20040204_arm.deb Size/MD5 checksum: 2910348 c4fab31d10a137738aeb722eb7358488 These files will probably be moved into the stable distribution on its next revision. - --------------------------------------------------------------------------------- For apt-get: deb http://security.debian.org/ stable/updates main For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main Mailing list: debian-security-announce@lists.debian.org Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAM24FW5ql+IAeqTIRAnfGAKCL/DNBX0AbM1Z3FQAgydBWG277ogCeInX7 n/gIgC3CKmo3hymySIFKXS4= =H3CA -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-security-announce-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2004, SecurityGlobal.net LLC