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:  1010403
SecurityTracker URL:  http://securitytracker.com/id?1010403
CVE Reference:  CAN-2004-0077   (Links to External Site)
Date:  Jun 5 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
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.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-sou rce-2.2.20_2.2.20-5woody3.dsc
Size/MD5 checksum: 661 4eede8cde6013e6660459173dacd8e4e
http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20 /kernel-source-2.2.20_2.2.20-5woody3.diff.gz
Size/MD5 checksum: 159991 26db63a4af138d5c67c433da29778102
http://security.debian.org/pool/updates/main/k/kerne l-source-2.2.20/kernel-source-2.2.20_2.2.20.orig.tar.gz
Size/MD5 checksum: 19394649 57c0edf86cb23a5b215db9121c9b3557

http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-sparc-2.2_9woody1.dsc
Size/MD5 checksum: 768 58d7d78f4cc97af50074cafa2322ca7c
http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-sparc-2.2_9woody1.tar.gz
Size/MD5 checksum: 25540 af1005c87ca491c28108fda2a66efb2c

Architecture independent components:

http://security.debian.org/pool/updates/main/k/kernel-s ource-2.2.20/kernel-doc-2.2.20_2.2.20-5woody3_all.deb
Size/MD5 checksum: 1162414 d244e1206d51a785d2a298df8ffbb9e8
http://security.debian.org/pool/updates/mai n/k/kernel-source-2.2.20/kernel-source-2.2.20_2.2.20-5woody3_all.deb
Size/MD5 checksum: 15848780 33170e34a3d4c56e910314be93f0b184

http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-headers-2.2.20-sparc_9woody1_all.deb
Size/MD5 checksum: 1122094 e5bdced5ca4b46cffec44e531c238a56

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image -2.2.20-sun4cdm_9woody1_sparc.deb
Size/MD5 checksum: 1617420 3789f331d7aa2e9c10b3ffee08c82b94
http://security.debian.org/pool/updates/main/k/kernel-image-spa rc-2.2/kernel-image-2.2.20-sun4dm-smp_9woody1_sparc.deb
Size/MD5 checksum: 1653324 e0b6db9b869d1dd51e2a615a0eaef8a1
http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4u_9woody1_sparc.deb
Size/MD5 checksum: 2023252 50b820b56ed032a532d5e0bbff5f58b1
http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4u-smp_9woody1_sparc .deb
Size/MD5 checksum: 2066292 9144adfbf2bce6098028b69ee28658b8

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, 4 Jun 2004 20:13:25 +0200 (CEST)
From:  joey@infodrom.org (Martin Schulze)
Subject:  [SECURITY] [DSA 514-1] New Linux 2.2.20 packages fix local root exploit (sparc)

 

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 514-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
June 4th, 2004                          http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : kernel-source-2.2.20, kernel-image-2.2-sparc
Vulnerability  : failing function and TLB flush
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2004-0077
CERT advisory  : VU#981222

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 flushing the TLB (Translation
Lookaside Buffer, an address cache) too early it is possible for an
attacker to trigger a local root exploit.

The attack vectors for 2.4.x and 2.2.x kernels are exclusive for the
respective kernel series, though.  We formerly believed that the
exploitable vulnerability in 2.4.x does not exist in 2.2.x which is
still true.  However, it turned out that a second (sort of)
vulnerability is indeed exploitable in 2.2.x, but not in 2.4.x, with a
different exploit, of course.

For the stable distribution (woody) these problems have been fixed in
version 9woody1 of Linux 2.2 kernel images for the sparc architecture
and in version 2.2.20-5woody3 of Linux 2.2.20 source.

For the unstable distribution (sid) these problems have been fixed in
version 9.1 of Linux 2.2 kernel images for the sparc architecture.

This problem has been fixed for other architectures already.

We recommend that you upgrade your Linux kernel package.


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-source-2.2.20/kernel-source-2.2.20_2.2.20-5
woody3.dsc Size/MD5 checksum: 661 4eede8cde6013e6660459173dacd8e4e http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-source-2.2.20_2.2.20-5
woody3.diff.gz Size/MD5 checksum: 159991 26db63a4af138d5c67c433da29778102 http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-source-2.2.20_2.2.20.o
rig.tar.gz Size/MD5 checksum: 19394649 57c0edf86cb23a5b215db9121c9b3557 http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-sparc-2.2_9woo
dy1.dsc Size/MD5 checksum: 768 58d7d78f4cc97af50074cafa2322ca7c http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-sparc-2.2_9woo
dy1.tar.gz Size/MD5 checksum: 25540 af1005c87ca491c28108fda2a66efb2c Architecture independent components: http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-doc-2.2.20_2.2.20-5woo
dy3_all.deb Size/MD5 checksum: 1162414 d244e1206d51a785d2a298df8ffbb9e8 http://security.debian.org/pool/updates/main/k/kernel-source-2.2.20/kernel-source-2.2.20_2.2.20-5
woody3_all.deb Size/MD5 checksum: 15848780 33170e34a3d4c56e910314be93f0b184 http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-headers-2.2.20-sparc
_9woody1_all.deb Size/MD5 checksum: 1122094 e5bdced5ca4b46cffec44e531c238a56 Sun Sparc architecture: http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4cdm
_9woody1_sparc.deb Size/MD5 checksum: 1617420 3789f331d7aa2e9c10b3ffee08c82b94 http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4dm-
smp_9woody1_sparc.deb Size/MD5 checksum: 1653324 e0b6db9b869d1dd51e2a615a0eaef8a1 http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4u_9
woody1_sparc.deb Size/MD5 checksum: 2023252 50b820b56ed032a532d5e0bbff5f58b1 http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4u-s
mp_9woody1_sparc.deb Size/MD5 checksum: 2066292 9144adfbf2bce6098028b69ee28658b8 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) iD8DBQFAwLvEW5ql+IAeqTIRAt1ZAJ9TFcLcX0FRqCRlt9zfYPtoreIcDACfZfUn ZTpzOHmmiAjxOfIn3KoAYYY= =Vf8n -----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