copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2004.0177 -- Debian Security Advisory DSA 454-1 and DSA 453-1 -- New Linux 2.2.22 and 2.2.20 packages fix local root exploit

Date: 03 March 2004
References: AU-2004.006  ESB-2004.0152  ESB-2004.0154  ESB-2004.0170  ESB-2004.0183  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

     ESB-2004.0177 -- Debian Security Advisory DSA 454-1 and DSA 453-1
        New Linux 2.2.22 and 2.2.20 packages fix local root exploit
                               03 March 2004

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                kernel
Publisher:              Debian
Operating System:       Debian GNU/Linux 3.0
                        Linux
Impact:                 Root Compromise
Access Required:        Existing Account
CVE Names:              CAN-2004-0077

Ref:                    AU-2004.006
                        ESB-2004.0154
                        ESB-2004.0152
                        ESB-2004.0170

Comment: This ESB contains Debian Security Advisories 
         DSA-454-1 and DSA-453-1

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----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-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-alpha_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-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-1woody1_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-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-image-2.2.22-nautilus_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-----

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

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 453-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.20, kernel-image-2.2.20-i386, kernel-image-2.2.20-reiserfs-i386, kernel-image-2.2.20-amiga, kernel-image-2.2.20-atari, kernel-image-2.2.20-bvme6000, kernel-image-2.2.20-mac, kernel-image-2.2.20-mvme147, kernel-image-2.2.20-mvme16x, kernel-patch-2.2.20-powerpc
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.20                source    2.2.20-5woody3
   kernel-image-2.2.20-i386            i386      2.2.20-5woody5
   kernel-image-2.2.20-reiserfs-i386   i386      2.2.20-4woody1
   kernel-image-2.2.20-amiga           m68k      2.20-4
   kernel-image-2.2.20-atari           m68k      2.2.20-3
   kernel-image-2.2.20-bvme6000        m68k      2.2.20-3
   kernel-image-2.2.20-mac             m68k      2.2.20-3
   kernel-image-2.2.20-mvme147         m68k      2.2.20-3
   kernel-image-2.2.20-mvme16x         m68k      2.2.20-3
   kernel-patch-2.2.20-powerpc         powerpc   2.2.20-3woody1

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.20/kernel-source-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/kernel-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-2.2.20-i386/kernel-image-2.2.20-i386_2.2.20-5woody5.dsc
      Size/MD5 checksum:      808 e0ab6c5a72afc1bb1bf8ac79901aaa10
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20-i386_2.2.20-5woody5.tar.gz
      Size/MD5 checksum:    14062 dee74cee41726fc43d5e2d2ff765106f

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-reiserfs-i386/kernel-image-2.2.20-reiserfs-i386_2.2.20-4woody1.dsc
      Size/MD5 checksum:      763 c8edde803877bdac6c5176892724e6cd
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-reiserfs-i386/kernel-image-2.2.20-reiserfs-i386_2.2.20-4woody1.tar.gz
      Size/MD5 checksum:     6341 42bf6d7336c973fa7a782710007c4c0d

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-amiga/kernel-image-2.2.20-amiga_2.2.20-4.dsc
      Size/MD5 checksum:      636 9278a7e66394ce2ed88dee9157a55942
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-amiga/kernel-image-2.2.20-amiga_2.2.20-4.tar.gz
      Size/MD5 checksum:     3733 4c640cd56182c20882e3fe534ee8685a

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-atari/kernel-image-2.2.20-atari_2.2.20-3.dsc
      Size/MD5 checksum:      636 138af6942e118d1171f765e8811cd6ae
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-atari/kernel-image-2.2.20-atari_2.2.20-3.tar.gz
      Size/MD5 checksum:     3657 358575286c68dbd0ed01e34902f013eb

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-bvme6000/kernel-image-2.2.20-bvme6000_2.2.20-3.dsc
      Size/MD5 checksum:      630 ef185741b10a0453dfed1d174b9cb21a
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-bvme6000/kernel-image-2.2.20-bvme6000_2.2.20-3.tar.gz
      Size/MD5 checksum:     3372 85e13320526f3e72b8e480ec2606ea7c

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mac/kernel-image-2.2.20-mac_2.2.20-3.dsc
      Size/MD5 checksum:      630 7eb61d65166a85de5a36c1319f705ace
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mac/kernel-image-2.2.20-mac_2.2.20-3.tar.gz
      Size/MD5 checksum:     3543 f178454597e898c72df8a98f3f48c8eb

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme147/kernel-image-2.2.20-mvme147_2.2.20-3.dsc
      Size/MD5 checksum:      627 2ca571f0dc73b19cb4e95832e6b329b2
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme147/kernel-image-2.2.20-mvme147_2.2.20-3.tar.gz
      Size/MD5 checksum:     3356 fcec4b45ef27b634742b7e93dce4b8f2

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme16x/kernel-image-2.2.20-mvme16x_2.2.20-3.dsc
      Size/MD5 checksum:      627 65e1bd5bec651d976ee05f9b8f4d9b48
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme16x/kernel-image-2.2.20-mvme16x_2.2.20-3.tar.gz
      Size/MD5 checksum:     3388 bcdeb01f56e23d6222582fbccf45d0dd

    http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-patch-2.2.20-powerpc_2.2.20-3woody1.dsc
      Size/MD5 checksum:      724 6678c67a4d8ca5d865fad683b294f1b2
    http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-patch-2.2.20-powerpc_2.2.20-3woody1.tar.gz
      Size/MD5 checksum:    19725 e5afc11169cae702f8efbf04827fcf33

  Architecture independent components:

    http://security.debian.org/pool/updates/main/k/kernel-source-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/main/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-patch-2.2.20-powerpc/kernel-patch-2.2.20-powerpc_2.2.20-3woody1_all.deb
      Size/MD5 checksum:    18658 2f81d9dca6c10e1f41d5e845d5e0f2ce

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-headers-2.2.20_2.2.20-5woody5_i386.deb
      Size/MD5 checksum:  1919670 25ea7ce56e42d74ad5a60009af2e0e8a
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-headers-2.2.20-compact_2.2.20-5woody5_i386.deb
      Size/MD5 checksum:  1868748 8bcbd7573c6b1c53900e1f25f712a612
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-headers-2.2.20-idepci_2.2.20-5woody5_i386.deb
      Size/MD5 checksum:  1840548 7969d01dd04f032627652e29a048f687
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20_2.2.20-5woody5_i386.deb
      Size/MD5 checksum:  5789366 accfe06e7e38d1d2ef61df381b1710c1
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20-compact_2.2.20-5woody5_i386.deb
      Size/MD5 checksum:  1623778 befd89e4a89547b696fcb1e3e3d6bd79
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-i386/kernel-image-2.2.20-idepci_2.2.20-5woody5_i386.deb
      Size/MD5 checksum:  1284342 c532a46f993cef7f5508d3a98bd2e1e5

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-reiserfs-i386/kernel-headers-2.2.20-reiserfs_2.2.20-4woody1_i386.deb
      Size/MD5 checksum:  1898558 fd91d75e0abeb484fafd41542e61a3a3
    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-reiserfs-i386/kernel-image-2.2.20-reiserfs_2.2.20-4woody1_i386.deb
      Size/MD5 checksum:  1703058 28bed77f45f8a4d10c9843a73200500b

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-amiga/kernel-image-2.2.20-amiga_2.2.20-4_m68k.deb
      Size/MD5 checksum:  1533156 ae9b3e8bb75af6072f2558411c600db1

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-atari/kernel-image-2.2.20-atari_2.2.20-3_m68k.deb
      Size/MD5 checksum:  1476746 1658fb396b6b6747db6b10a86853493d

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-bvme6000/kernel-image-2.2.20-bvme6000_2.2.20-3_m68k.deb
      Size/MD5 checksum:  1318464 662a840f2a2ee4ab20e2306640efc77e

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mac/kernel-image-2.2.20-mac_2.2.20-3_m68k.deb
      Size/MD5 checksum:  1426616 36e90c602170fa88883d9e5711328238

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme147/kernel-image-2.2.20-mvme147_2.2.20-3_m68k.deb
      Size/MD5 checksum:  1252288 d98f6ae70e3b76b9edb00851d2fb10fc

    http://security.debian.org/pool/updates/main/k/kernel-image-2.2.20-mvme16x/kernel-image-2.2.20-mvme16x_2.2.20-3_m68k.deb
      Size/MD5 checksum:  1323998 b0ae1e8e75af684b293ac92a7eb1b897

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-headers-2.2.20_2.2.20-3woody1_powerpc.deb
      Size/MD5 checksum:  1860028 077556e58768e51fb3e6215c865c6056
    http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-image-2.2.20-chrp_2.2.20-3woody1_powerpc.deb
      Size/MD5 checksum:  3316596 71a3275da4ecd0e0789b3aad8a6ebafd
    http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-image-2.2.20-pmac_2.2.20-3woody1_powerpc.deb
      Size/MD5 checksum:  3349730 c8837a83060a41ded41656f6870ba1da
    http://security.debian.org/pool/updates/main/k/kernel-patch-2.2.20-powerpc/kernel-image-2.2.20-prep_2.2.20-3woody1_powerpc.deb
      Size/MD5 checksum:  1772322 b61afa06348d176cfde719d57a86a7ad


  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)

iD8DBQFARHWQW5ql+IAeqTIRAg8HAKCCdzukB/hJMXpzMUnAWGLxIdO8JwCfft1q
8wHDN6OJdAa2XGCSSbcw8N8=
=hrBA
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQEU43yh9+71yA2DNAQEwtgP8Cq752+2hU3aswgDTkxq6+6p3AUXom9KR
Cbz7och/RkPwMt98SiC8c9vyShVshw7C4g5P4fpLtUvj7xcloC9CMrE+bMDYW6iv
pR/ln0W7RsjkYsrS4GsZe/tXLoMMjtEGcNzloPt9VgkmWY4DiNeV9QFpk4ZJPmmX
3XcdPWVwmWU=
=zmPn
-----END PGP SIGNATURE-----