[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 99/04 - Debian Security Advisory DSA 454-1 and DSA 453-1



 
-----BEGIN PGP SIGNED MESSAGE-----

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 99/04 dated 03.03.04  Time: 14:30  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

New Linux 2.2.22 and 2.2.20 packages fix local root exploit

Detail
======
 
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.


     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
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@xxxxxxxxxx
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@xxxxxxxxxxxxxxxx
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@xxxxxxxxxx
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@xxxxxxxxxxxxxxxx
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-----


- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Debian for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBQEXr14pao72zK539AQHILQP9F/s8lct8mltMoeVV2KrntOePgCjeNjVA
JmtUtmhGvxV845HvRXV1afgLvEWidfMT+QajEvVHf7bVgfgwa20uHfI3iSLgn9o5
6jeCZgaWmXKjysqDJVpvRDw9y9ZqH7ID4Ma4VY5KaJ1lP8qhlVQTRbnp4snK7ZiD
nBxg2jDkb1w=
=OAK2
-----END PGP SIGNATURE-----