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 mips/mipsel) Linux Kernel do_mremap() Fails to Check do_munmap() Return Values, Allowing a Local User to Gain Root Privileges
SecurityTracker Alert ID:  1009116
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.17-0.020226.2.woody5 for mips and mipsel kernel images.

For the unstable distribution (sid), this flaw will reportedly be fixed soon with the next upload of a 2.4.19 kernel image and in version 2.4.22-0.030928.3 for 2.4.22 for the mips and mipsel architectures.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-patch-2.4.17-mips_2.4.17-0.020226.2.woody5.dsc
Size/MD5 checksum: 786 b96d0f387a948cf64a07e6d6c5102b30
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-patch-2.4.17-mips_2. 4.17-0.020226.2.woody5.tar.gz
Size/MD5 checksum: 1138658 dc1df0219c33c0de14ffd22ea8585ad5

Architecture independent components:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-patch-2.4.17-mips_2.4.17-0.020226.2.woody5_all.deb
Size/MD5 checksum: 1138888 ba735096447ec98541c3d35838348e95

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/k/kernel-patch-2. 4.17-mips/kernel-headers-2.4.17_2.4.17-0.020226.2.woody5_mips.deb
Size/MD5 checksum: 3475886 0e2394ed3cee2a7dafa2d75a7a2042e6
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r4k-ip22_2.4.17-0.020226.2.woody5_mips.deb
Size/MD5 checksum: 2042458 1585029d1c0b32ce770a29d74b3720f8
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r5k-ip2 2_2.4.17-0.020226.2.woody5_mips.deb
Size/MD5 checksum: 2042414 83894b6f444b63c57a34051be23f8e04

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-headers-2.4.17_2.4.17-0.020226.2.woody5_mipsel.deb
Size/MD5 checksum: 3474568 099f3c8bc36668123c2414aa861805c0
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r3k-kn0 2_2.4.17-0.020226.2.woody5_mipsel.deb
Size/MD5 checksum: 2197826 defe3a975447f16b14f5d52b61991458
http://security.debian.org/pool/updates/main/k/kernel-patch -2.4.17-mips/kernel-image-2.4.17-r4k-kn04_2.4.17-0.020226.2.woody5_mipsel.deb
Size/MD5 checksum: 2193704 89fc943ed1530fd0da6ca7a0303acb93
http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/mips-tools_2.4.17-0.020226.2.woody5_mipsel.deb
Size/MD5 checksum: 15114 65e08c5c4f432a537641b6b3a76a3c42

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 16:29:54 +0100 (CET)
From:  joey@infodrom.org (Martin Schulze)
Subject:  [SECURITY] [DSA 441-1] New Linux 2.4.17 packages fix local root exploit (mips+mipsel)

 

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

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

Package        : kernel-patch-2.4.17-mips
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 2.4.17-0.020226.2.woody5 for mips and mipsel kernel images.

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

For the unstable distribution (sid) this problem will be fixed soon
with the next upload of a 2.4.19 kernel image and in version
2.4.22-0.030928.3 for 2.4.22 for the mips and mipsel architectures.

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-patch-2.4.17-mips/kernel-patch-2.4.17-mips_
2.4.17-0.020226.2.woody5.dsc Size/MD5 checksum: 786 b96d0f387a948cf64a07e6d6c5102b30 http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-patch-2.4.17-mips_
2.4.17-0.020226.2.woody5.tar.gz Size/MD5 checksum: 1138658 dc1df0219c33c0de14ffd22ea8585ad5 Architecture independent components: http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-patch-2.4.17-mips_
2.4.17-0.020226.2.woody5_all.deb Size/MD5 checksum: 1138888 ba735096447ec98541c3d35838348e95 Big endian MIPS architecture: http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-headers-2.4.17_2.4
.17-0.020226.2.woody5_mips.deb Size/MD5 checksum: 3475886 0e2394ed3cee2a7dafa2d75a7a2042e6 http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r4k-i
p22_2.4.17-0.020226.2.woody5_mips.deb Size/MD5 checksum: 2042458 1585029d1c0b32ce770a29d74b3720f8 http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r5k-i
p22_2.4.17-0.020226.2.woody5_mips.deb Size/MD5 checksum: 2042414 83894b6f444b63c57a34051be23f8e04 Little endian MIPS architecture: http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-headers-2.4.17_2.4
.17-0.020226.2.woody5_mipsel.deb Size/MD5 checksum: 3474568 099f3c8bc36668123c2414aa861805c0 http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r3k-k
n02_2.4.17-0.020226.2.woody5_mipsel.deb Size/MD5 checksum: 2197826 defe3a975447f16b14f5d52b61991458 http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/kernel-image-2.4.17-r4k-k
n04_2.4.17-0.020226.2.woody5_mipsel.deb Size/MD5 checksum: 2193704 89fc943ed1530fd0da6ca7a0303acb93 http://security.debian.org/pool/updates/main/k/kernel-patch-2.4.17-mips/mips-tools_2.4.17-0.02022
6.2.woody5_mipsel.deb Size/MD5 checksum: 15114 65e08c5c4f432a537641b6b3a76a3c42 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) iD8DBQFAM4TyW5ql+IAeqTIRAjFfAKCcLvFs46ANIjAfNGN1g1lYCizZ2ACeJMl8 NKniEaKX2hBjRHeZ+0LS0Ro= =7KpS -----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