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

UNIRAS Brief - 272/04 - Two Debian Security Briefings



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

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 272/04 dated 07.06.04  Time: 12:15  
  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
=====


1. Debian Security Advisory DSA 515-1: New lha packages fix several vulnerabilities.

2. Debian Security Advisory DSA 514-1: New Linux 2.2.20 packages fix local root exploit (sparc)
         


Detail
====== 

1. Two vulnerabilities were discovered in lha:

 - CAN-2004-0234 - Multiple stack-based buffer overflows in the
   get_header function in header.c for LHA 1.14 allow remote attackers
   or local users to execute arbitrary code via long directory or file
   names in an LHA archive, which triggers the overflow when testing
   or extracting the archive.

 - CAN-2004-0235 - Multiple directory traversal vulnerabilities in LHA
   1.14 allow remote attackers or local users to create arbitrary
   files via an LHA archive containing filenames with (1) .. sequences
   or (2) absolute pathnames with double leading slashes
   ("//absolute/path").

2. 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.






1.

            ESB-2004.0386 -- Debian Security Advisory DSA 515-1
               New lha packages fix several vulnerabilities
                               07 June 2004


Product:                lha
Publisher:              Debian
Operating System:       Debian GNU/Linux 3.0
                        Linux variants
Impact:                 Execute Arbitrary Code/Commands
                        Create Arbitrary Files
Access Required:        Remote
CVE Names:              CAN-2004-0234
                        CAN-2004-0235

Ref:                    ESB-2004.0319

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

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

- - - --------------------------------------------------------------------------
Debian Security Advisory DSA 515-1                     security@xxxxxxxxxx
http://www.debian.org/security/                             Matt Zimmerman
June 5th, 2004                          http://www.debian.org/security/faq
- - - --------------------------------------------------------------------------

Package        : lha
Vulnerability  : several
Problem-Type   : local
Debian-specific: no
CVE Ids        : CAN-2004-0234 CAN-2004-0235

Two vulnerabilities were discovered in lha:

 - CAN-2004-0234 - Multiple stack-based buffer overflows in the
   get_header function in header.c for LHA 1.14 allow remote attackers
   or local users to execute arbitrary code via long directory or file
   names in an LHA archive, which triggers the overflow when testing
   or extracting the archive.

 - CAN-2004-0235 - Multiple directory traversal vulnerabilities in LHA
   1.14 allow remote attackers or local users to create arbitrary
   files via an LHA archive containing filenames with (1) .. sequences
   or (2) absolute pathnames with double leading slashes
   ("//absolute/path").

For the current stable distribution (woody), these problems have been fixed in version 1.14i-2woody1.

For the unstable distribution (sid), these problems have been fixed in version 1.14i-8.

We recommend that you update your lha 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/non-free/l/lha/lha_1.14i-2woody1.dsc
      Size/MD5 checksum:      556 22b59156de011ddb84b0eaed4f174d2c
    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1.diff.gz
      Size/MD5 checksum:    21414 0f990fd920ea4770dd088a97c1c87f18
    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i.orig.tar.gz
      Size/MD5 checksum:    64196 10410742b0169f3357ef9a3f0f032037

  Alpha architecture:

    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_alpha.deb
      Size/MD5 checksum:    64820 b7e55241026435e0c882178f6606f33b

  ARM architecture:

    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_arm.deb
      Size/MD5 checksum:    55542 62be18e035d6faedb4d990f16081d74e

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_i386.deb
      Size/MD5 checksum:    50090 7548e83cb7049fe43243f804eb456ed7

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_ia64.deb
      Size/MD5 checksum:    73588 32e62b8fbd0cf2ef64d7838d005ef19e

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_m68k.deb
      Size/MD5 checksum:    48632 bd5ce2c34a44952abf757993153fe238

  PowerPC architecture:

    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_powerpc.deb
      Size/MD5 checksum:    55160 9d8225135b7c6abe443a4d0d4fc27245

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_s390.deb
      Size/MD5 checksum:    53930 02c5e52b834539a30bd76f2e90265fb8

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/non-free/l/lha/lha_1.14i-2woody1_sparc.deb
      Size/MD5 checksum:    56526 8323a0469ef41c7fcf8b84c4b5f1a7ce

  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)

iD8DBQFAwi9kArxCt0PiXR4RAtG3AKCtP0m2hbcPCG2y1hPXPYA2iLTkyACg0g15
BkEdgvrmYOhmBy2sbOzYIoc=
=v4b1





2.

            ESB-2004.0385 -- Debian Security Advisory DSA 514-1
         New Linux 2.2.20 packages fix local root exploit (sparc)
                               07 June 2004

Product:                kernel-source-2.2.20
                        kernel-image-2.2-sparc
Publisher:              Debian
Operating System:       Debian GNU/Linux 3.0
                        Linux variants
Platform:               SPARC
Impact:                 Root Compromise
Access Required:        Existing Account
CVE Names:              CAN-2004-0077

Ref:                    ESB-2004.0251

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

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

- - - --------------------------------------------------------------------------
Debian Security Advisory DSA 514-1                     security@xxxxxxxxxx
http://www.debian.org/security/                             Martin Schulze
June 4th, 2004                          http://www.debian.org/security/faq
- - - --------------------------------------------------------------------------

Package        : kernel-source-2.2.20, kernel-image-2.2-sparc
Vulnerability  : failing function and TLB flush
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2004-0077
CERT advisory  : VU#981222

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) these problems have been fixed in version 9woody1 of Linux 2.2 kernel images for the sparc architecture and in version 2.2.20-5woody3 of Linux 2.2.20 source.

For the unstable distribution (sid) these problems have been fixed in version 9.1 of Linux 2.2 kernel images for the sparc architecture.

This problem has been fixed for other architectures already.

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-sparc-2.2/kernel-image-sparc-2.2_9woody1.dsc
      Size/MD5 checksum:      768 58d7d78f4cc97af50074cafa2322ca7c
    http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-sparc-2.2_9woody1.tar.gz
      Size/MD5 checksum:    25540 af1005c87ca491c28108fda2a66efb2c

  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-image-sparc-2.2/kernel-headers-2.2.20-sparc_9woody1_all.deb
      Size/MD5 checksum:  1122094 e5bdced5ca4b46cffec44e531c238a56

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4cdm_9woody1_sparc.deb
      Size/MD5 checksum:  1617420 3789f331d7aa2e9c10b3ffee08c82b94
    http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4dm-smp_9woody1_sparc.deb
      Size/MD5 checksum:  1653324 e0b6db9b869d1dd51e2a615a0eaef8a1
    http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4u_9woody1_sparc.deb
      Size/MD5 checksum:  2023252 50b820b56ed032a532d5e0bbff5f58b1
    http://security.debian.org/pool/updates/main/k/kernel-image-sparc-2.2/kernel-image-2.2.20-sun4u-smp_9woody1_sparc.deb
      Size/MD5 checksum:  2066292 9144adfbf2bce6098028b69ee28658b8


  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)




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

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

iQCVAwUBQMROjopao72zK539AQHHjQP+P7BNjw8x6GeHZKjasoOJl0prxS3XV0Us
xhg0JLgvZJejNqFlNPaJ6TCTUCO+HIbGRmVE+9ugrNVrVdoQ7FwkykCMsWBx0QeE
1aZtFeKKW78YbovFOVjFR4dcnZ6tUn5P1wx9jjUmaGaQ9/0XAQ4j+3Paxv2T9FY6
eapl685PqwU=
=M/8T
-----END PGP SIGNATURE-----