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
(Mandrake Issues Fix for x86_64) Linux Kernel do_mremap() Fails to Check do_munmap() Return Values, Allowing a Local User to Gain Root Privileges
SecurityTracker Alert ID:  1009215
CVE Reference:  CAN-2004-0077   (Links to External Site)
Date:  Feb 26 2004
Impact:  Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): Corporate Server 2.1
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:  Mandrake has released a fix.

Corporate Server 2.1/x86_64:
7cb10d389a3676af5467cde13aeeffc5 x86_64/corporate/2.1/RPMS/kernel-2.4.19.39mdk-1-1mdk.x86_64.rpm
aa90188586bec669ee2dd4c21849ef63 x86_64/corporate/2.1/RPMS/kernel-secure-2.4.19.39mdk-1-1mdk.x86_64.rpm
29a349a070109e5452d56e85d636fe73 x86_64/corporate/2.1/RPMS/kernel-smp-2.4.19.39mdk-1-1mdk.x86_64.rpm
cb2af78f251c5665f4cd9e7ecc3faff1 x86_64/corporate/2.1/RPMS/kernel-source-2.4.19-39mdk.x86_64.rpm
4e3c46ba37b6180670c79ba50b23b9b4 x86_64/corporate/2.1/SRPMS/kernel-2.4.19.39mdk-1-1mdk.src.rpm

Vendor URL:  www.kernel.org/ (Links to External Site)
Cause:  Boundary error
Underlying OS:  Linux (Mandrake)
Reported By:  Mandrake Linux Security Team <security@linux-mandrake.com>
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:  26 Feb 2004 00:42:34 -0000
From:  Mandrake Linux Security Team <security@linux-mandrake.com>
Subject:  MDKSA-2004:015-1 - Updated x86_64 kernel packages fix multiple vulnerabilities

 

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

 _______________________________________________________________________

                 Mandrakelinux Security Update Advisory
 _______________________________________________________________________

 Package name:           kernel
 Advisory ID:            MDKSA-2004:015-1
 Date:                   February 25th, 2004
 Original Advisory Date: February 24th, 2004
 Affected versions:	 Corporate Server 2.1
 ______________________________________________________________________

 Problem Description:

 Paul Staretz discovered a flaw in return value checking in the
 mremap() function in the Linux kernel, versions 2.4.24 and previous
 that could allow a local user to obtain root privileges.
 
 A vulnerability was found in the R128 DRI driver by Alan Cox.  This
 could allow local privilege escalation.
 
 A flaw in the ncp_lookup() function in the ncpfs code (which is used
 to mount NetWare volumes or print to NetWare printers) was found by
 Arjen van de Ven that could allow local privilege escalation.
 
 The Vicam USB driver in Linux kernel versions prior to 2.4.25 does
 not use the copy_from_user function to access userspace, which crosses
 security boundaries.  This problem does not affect the Mandrake Linux
 9.2 kernel.
 
 Additionally, a ptrace hole that only affects the amd64/x86_64
 platform has been corrected.
 
 The provided packages are patched to fix these vulnerabilities.  All
 users are encouraged to upgrade to these updated kernels.
 
 To update your kernel, please follow the directions located at:
 
   http://www.mandrakesecure.net/en/kernelupdate.php
  
Update:

 Kernels for Corporate Server 2.1/x86_64 are now available.
 _______________________________________________________________________

 References:

  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0003
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0010
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0075
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0077
 ______________________________________________________________________

 Updated Packages:
  
 Corporate Server 2.1/x86_64:
 7cb10d389a3676af5467cde13aeeffc5  x86_64/corporate/2.1/RPMS/kernel-2.4.19.39mdk-1-1mdk.x86_64.rpm
 aa90188586bec669ee2dd4c21849ef63  x86_64/corporate/2.1/RPMS/kernel-secure-2.4.19.39mdk-1-1mdk.x86_64
.rpm 29a349a070109e5452d56e85d636fe73 x86_64/corporate/2.1/RPMS/kernel-smp-2.4.19.39mdk-1-1mdk.x86_64.rp
m cb2af78f251c5665f4cd9e7ecc3faff1 x86_64/corporate/2.1/RPMS/kernel-source-2.4.19-39mdk.x86_64.rpm 4e3c46ba37b6180670c79ba50b23b9b4 x86_64/corporate/2.1/SRPMS/kernel-2.4.19.39mdk-1-1mdk.src.rpm _______________________________________________________________________ To upgrade automatically use MandrakeUpdate or urpmi. The verification of md5 checksums and GPG signatures is performed automatically for you. A list of FTP mirrors can be obtained from: http://www.mandrakesecure.net/en/ftp.php All packages are signed by Mandrakesoft for security. You can obtain the GPG public key of the Mandrakelinux Security Team by executing: gpg --recv-keys --keyserver www.mandrakesecure.net 0x22458A98 Please be aware that sometimes it takes the mirrors a few hours to update. You can view other update advisories for Mandrakelinux at: http://www.mandrakesecure.net/en/advisories/ Mandrakesoft has several security-related mailing list services that anyone can subscribe to. Information on these lists can be obtained by visiting: http://www.mandrakesecure.net/en/mlist.php If you want to report vulnerabilities, please contact security_linux-mandrake.com Type Bits/KeyID Date User ID pub 1024D/22458A98 2000-07-10 Linux Mandrake Security Team <security linux-mandrake.com> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQFAPUD5mqjQ0CJFipgRAnV8AKDbtOBNQj0HJBynnGAcQlEgT/+KCgCgiYcB OwaDE76JuUIzwcwUgm4jpZ8= =Xt4R -----END PGP SIGNATURE-----


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2004, SecurityGlobal.net LLC