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 Alpha) Linux Kernel do_mremap() Fails to Check do_munmap() Return Values, Allowing a Local User to Gain Root Privileges
SecurityTracker Alert ID:  1009304
CVE Reference:  CAN-2004-0077   (Links to External Site)
Date:  Mar 3 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 for the alpha architecture.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/k/kern el-source-2.2.22/kernel-source-2.2.22_2.2.22-1woody1.dsc
Size/MD5 checksum: 661 2f5744d0e7d68932d8910d15583ed820
http://security.debian.org/pool/updates/main/k/kernel-source-2.2.22/kernel-source-2.2.22_2.2.22-1woody1.diff.gz
Size/MD5 checksum: 146548 51478245f5608894bbb59223172f9cb3
http://security.debian.org/pool/updates/main/k/kernel-source-2.2.22/kernel-source-2.2.22_2.2.22.orig.tar.gz
Size/MD5 checksum: 19313552 af9832dc10026cf03b2682f296ccd051

http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-alph a_2.2.22-2.dsc
Size/MD5 checksum: 870 ac538b47a782ae11686e2c5d0c3bb6f5
http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-im age-2.2.22-alpha_2.2.22-2.tar.gz
Size/MD5 checksum: 7451 6107bb5e1e7ae0aa4e3f9417fced0717

Architecture independent components:

http://security.debian.org/pool/updates/main/k/kernel-source-2.2.22/kernel-doc-2.2.22_2.2.22-1woody1_all.deb
Size/MD5 checksum: 1162368 805cf7d09f69b14ebcb392038de5a6b1
http://security.debian.org/pool/updates/main/k/kernel-source-2.2.22/kernel-source-2.2.22_2.2.22-1wo ody1_all.deb
Size/MD5 checksum: 15759754 55d31894b93cb9633caaa6a0eddbf998

Alpha architecture:

http://security.debian.org/pool/updates/main/k/kernel-ima ge-2.2.22-alpha/kernel-headers-2.2.22_2.2.22-2_alpha.deb
Size/MD5 checksum: 1871248 c762109e412ef7d3e31bebb868e668ce
http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-generic_2.2.22-2_alpha.deb
Size/MD5 checksum: 2782898 99c876bdab97812cb5ebdfdb1c88d224
http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-jensen_2.2 .22-2_alpha.deb
Size/MD5 checksum: 2299174 ac17d87dbb6558c83b723fb97808f721
http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-i mage-2.2.22-nautilus_2.2.22-2_alpha.deb
Size/MD5 checksum: 2537032 9a3194224faccec6081ee06d9926be09
http://security.debian.org/pool/updates/main/k/kernel-ima ge-2.2.22-alpha/kernel-image-2.2.22-smp_2.2.22-2_alpha.deb
Size/MD5 checksum: 2878172 6ad070e82c301504d845692688012fed

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:  Tue, 2 Mar 2004 16:51:19 +0100 (CET)
From:  joey@infodrom.org (Martin Schulze)
Subject:  [SECURITY] [DSA 454-1] New Linux 2.2.22 packages fix local root exploit (alpha)

 

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 454-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
March 2nd, 2004                         http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : kernel-source-2.2.22, kernel-image-2.2.22-alpha
Vulnerability  : failing function and TLB flush
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 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) this problem has been fixed in
the following versions and architectures:

   kernel-source-2.2.22                source    2.2.22-1woody1
   kernel-image-2.2.22-alpha           alpha     2.2.22-2

For the unstable distribution (sid) this problem will be fixed soon
for the architectures that still ship a 2.2.x kernel package.

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.22/kernel-source-2.2.22_2.2.22-1
woody1.dsc Size/MD5 checksum: 661 2f5744d0e7d68932d8910d15583ed820 http://security.debian.org/pool/updates/main/k/kernel-source-2.2.22/kernel-source-2.2.22_2.2.22-1
woody1.diff.gz Size/MD5 checksum: 146548 51478245f5608894bbb59223172f9cb3 http://security.debian.org/pool/updates/main/k/kernel-source-2.2.22/kernel-source-2.2.22_2.2.22.o
rig.tar.gz Size/MD5 checksum: 19313552 af9832dc10026cf03b2682f296ccd051 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-alph
a_2.2.22-2.dsc Size/MD5 checksum: 870 ac538b47a782ae11686e2c5d0c3bb6f5 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-alph
a_2.2.22-2.tar.gz Size/MD5 checksum: 7451 6107bb5e1e7ae0aa4e3f9417fced0717 Architecture independent components: http://security.debian.org/pool/updates/main/k/kernel-source-2.2.22/kernel-doc-2.2.22_2.2.22-1woo
dy1_all.deb Size/MD5 checksum: 1162368 805cf7d09f69b14ebcb392038de5a6b1 http://security.debian.org/pool/updates/main/k/kernel-source-2.2.22/kernel-source-2.2.22_2.2.22-1
woody1_all.deb Size/MD5 checksum: 15759754 55d31894b93cb9633caaa6a0eddbf998 Alpha architecture: http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-headers-2.2.22_2.
2.22-2_alpha.deb Size/MD5 checksum: 1871248 c762109e412ef7d3e31bebb868e668ce http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-gene
ric_2.2.22-2_alpha.deb Size/MD5 checksum: 2782898 99c876bdab97812cb5ebdfdb1c88d224 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-jens
en_2.2.22-2_alpha.deb Size/MD5 checksum: 2299174 ac17d87dbb6558c83b723fb97808f721 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-naut
ilus_2.2.22-2_alpha.deb Size/MD5 checksum: 2537032 9a3194224faccec6081ee06d9926be09 http://security.debian.org/pool/updates/main/k/kernel-image-2.2.22-alpha/kernel-image-2.2.22-smp_
2.2.22-2_alpha.deb Size/MD5 checksum: 2878172 6ad070e82c301504d845692688012fed 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) iD8DBQFARK13W5ql+IAeqTIRAgi4AKCLii5C1bB8vjmDhmcKV5MfO8AWxQCeKDLT KdtPIHHXS/jG4oSJLCsdBV0= =lBkU -----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