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 2.4.18 HPPA) Linux Kernel do_mremap() Fails to Check do_munmap() Return Values, Allowing a Local User to Gain Root Privileges
SecurityTracker Alert ID:  1009672
CVE Reference:  CAN-2004-0077   (Links to External Site)
Date:  Apr 6 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.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel -image-2.4.18-hppa_62.1.dsc
Size/MD5 checksum: 713 b04fb5bfad0a9a46fcda5e0afe95d2ac
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hp pa/kernel-image-2.4.18-hppa_62.1.tar.gz
Size/MD5 checksum: 29943063 7c7e44c64bb8e69800469e5143e4a315

Architecture independent components:

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-source-2.4.18-hppa_62.1_all.deb
Size/MD5 checksum: 24090548 5b9c3bd3702f00b4a5f1a52d641dbb4d

HP Precision architecture:

http://security.debian.org/pool/updates/main/k/kernel-image-2.4.1 8-hppa/kernel-headers-2.4.18-hppa_62.1_hppa.deb
Size/MD5 checksum: 3503082 9cd62749253e897d5b901e5018e471f7
http://security.debian.org/pool/updates/main/k/ke rnel-image-2.4.18-hppa/kernel-image-2.4.18-32_62.1_hppa.deb
Size/MD5 checksum: 2774300 f32542b074f6a272b7c31685a2e96060
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-image-2.4.18-32-smp_62.1_hppa.deb
Size/MD5 checksum: 2913666 878bcc9861b13e7e063dd6570aa53bdb
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-image-2.4.18-64_62.1_hppa.deb
Size/MD5 checksum: 3074252 b5e96c96b464f2740eaf08513216e205
http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-image-2.4.18-64-smp_ 62.1_hppa.deb
Size/MD5 checksum: 3215442 702faf5c0bf94fbcb9883c5c2601a5c4

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:  Mon, 5 Apr 2004 10:32:46 +0200 (CEST)
From:  joey@infodrom.org (Martin Schulze)
Subject:  [SECURITY] [DSA 475-1] New Linux 2.4.18 packages fix several local root exploits (hppa)

 

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 475-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
April 5th, 2004                         http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : kernel-image-2.4.17-hppa
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 PA-RISC kernel 2.4.18 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.

Please note that the source package has to include a lot of updates in
order to compile the package, which wasn't possible with the old
source package.

For the stable distribution (woody) these problems have been fixed in
version 62.1 of kernel-image-2.4.18-hppa.

For the unstable distribution (sid) these problems have been fixed in
version 2.4.25-1 of kernel-image-2.4.25-hppa.

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.18-hppa/kernel-image-2.4.18-hppa_
62.1.dsc Size/MD5 checksum: 713 b04fb5bfad0a9a46fcda5e0afe95d2ac http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-image-2.4.18-hppa_
62.1.tar.gz Size/MD5 checksum: 29943063 7c7e44c64bb8e69800469e5143e4a315 Architecture independent components: http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-source-2.4.18-hppa
_62.1_all.deb Size/MD5 checksum: 24090548 5b9c3bd3702f00b4a5f1a52d641dbb4d HP Precision architecture: http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-headers-2.4.18-hpp
a_62.1_hppa.deb Size/MD5 checksum: 3503082 9cd62749253e897d5b901e5018e471f7 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-image-2.4.18-32_62
.1_hppa.deb Size/MD5 checksum: 2774300 f32542b074f6a272b7c31685a2e96060 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-image-2.4.18-32-sm
p_62.1_hppa.deb Size/MD5 checksum: 2913666 878bcc9861b13e7e063dd6570aa53bdb http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-image-2.4.18-64_62
.1_hppa.deb Size/MD5 checksum: 3074252 b5e96c96b464f2740eaf08513216e205 http://security.debian.org/pool/updates/main/k/kernel-image-2.4.18-hppa/kernel-image-2.4.18-64-sm
p_62.1_hppa.deb Size/MD5 checksum: 3215442 702faf5c0bf94fbcb9883c5c2601a5c4 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) iD8DBQFAcRmuW5ql+IAeqTIRAr/IAJ4vBNKzAGJ+CNH2IzxazXZisgP7bQCgqyqw wyQmlUAkVIArVUUE1dvXB/s= =nKOY -----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