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 for ia64 Architecture) Linux Kernel do_mremap() Fails to Check do_munmap() Return Values, Allowing a Local User to Gain Root Privileges
SecurityTracker Alert ID:  1009155
CVE Reference:  CAN-2004-0077   (Links to External Site)
Date:  Feb 20 2004
Impact:  Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): Debian Linux 3.0 (IA64 architecture)
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 011226.16 of ia64 kernel source and images.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-ia64_011226.16.dsc
Size/MD5 checksum: 736 ce2c07cdef967852affbded0c3b87d07
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-ia64_01 1226.16.tar.gz
Size/MD5 checksum: 25404148 fc05010d0a2597556ade2725bd9964ba

Architecture independent components:

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-source-2.4.17-ia64_011226.16_all.deb
Size/MD5 checksum: 24735276 62b217b8063eee0e7bcc0dab7cf1d436

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-h eaders-2.4.17-ia64_011226.16_ia64.deb
Size/MD5 checksum: 3635878 a80b582cac7154d87a683d3fb26504a9
http://security.debian.org/pool/updates/main/k/kernel-image -2.4.17-ia64/kernel-image-2.4.17-itanium_011226.16_ia64.deb
Size/MD5 checksum: 7019622 55c55179d90f2f65b855a6ae4190cc70
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-itanium-smp_011226.16_ia64.deb
Size/MD5 checksum: 7168586 8f95a26976bcedae6bece27dd60237e1
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-mckinle y_011226.16_ia64.deb
Size/MD5 checksum: 7011682 001c6f5ed436bfcd42acbb6d6046b11c
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kern el-image-2.4.17-mckinley-smp_011226.16_ia64.deb
Size/MD5 checksum: 7161374 586b7f6a4912694036df7dfadd4a57ca

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:  Fri, 20 Feb 2004 09:25:37 +0100 (CET)
From:  joey@infodrom.org (Martin Schulze)
Subject:  [SECURITY] [DSA 444-1] New Linux 2.4.17 packages fix local root exploit (ia64)

 

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

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

Package        : kernel-image-2.4.17-ia64
Vulnerability  : missing function return value check
Problem-Type   : local
Debian-specific: no
CVE ID         : 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.

For the stable distribution (woody) this problem has been fixed in
version 011226.16 of ia64 kernel source and images.

Other architectures are or will be mentioned in a separate advisory
respectively or are not affected (m68k).

For the unstable distribution (sid) this problem will be fixed in version
2.4.24-3.

This problem is also fixed in the upstream version of Linux 2.4.25 and
2.6.3.

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-image-2.4.17-ia64/kernel-image-2.4.17-ia64_
011226.16.dsc Size/MD5 checksum: 736 ce2c07cdef967852affbded0c3b87d07 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-ia64_
011226.16.tar.gz Size/MD5 checksum: 25404148 fc05010d0a2597556ade2725bd9964ba Architecture independent components: http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-source-2.4.17-ia64
_011226.16_all.deb Size/MD5 checksum: 24735276 62b217b8063eee0e7bcc0dab7cf1d436 Intel IA-64 architecture: http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-headers-2.4.17-ia6
4_011226.16_ia64.deb Size/MD5 checksum: 3635878 a80b582cac7154d87a683d3fb26504a9 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-itani
um_011226.16_ia64.deb Size/MD5 checksum: 7019622 55c55179d90f2f65b855a6ae4190cc70 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-itani
um-smp_011226.16_ia64.deb Size/MD5 checksum: 7168586 8f95a26976bcedae6bece27dd60237e1 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-mckin
ley_011226.16_ia64.deb Size/MD5 checksum: 7011682 001c6f5ed436bfcd42acbb6d6046b11c http://security.debian.org/pool/updates/main/k/kernel-image-2.4.17-ia64/kernel-image-2.4.17-mckin
ley-smp_011226.16_ia64.deb Size/MD5 checksum: 7161374 586b7f6a4912694036df7dfadd4a57ca 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) iD8DBQFANcSBW5ql+IAeqTIRAlGGAJwJd1GA9MC3dFwDWGz5u0WErsSvswCcDJe8 DUfyiky20+a5+xx7IocHj+w= =1rXE -----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