--------------------------------------------------------------------------
Debian Security Advisory DSA 188-1                     security@debian.org 
Debian -- Security Information                              Martin Schulze
November 5th, 2002                       Debian -- Debian security FAQ 
--------------------------------------------------------------------------

Package        : apache-ssl
Vulnerability  : several
Problem-Type   : remote, local
Debian-specific: no
CVE Id         : CAN-2002-0839 CAN-2002-0840 CAN-2002-0843 CAN-2001-0131 CAN-2002-1233
BugTraq ID     : 5847 5884 5887

According to David Wagner, iDEFENSE and the Apache HTTP Server
Project, several vulnerabilities have been found in the Apache
package, a commonly used webserver.  Most of the code is shared
between the Apache and Apache-SSL packages, so vulnerabilities are
shared as well.  These vulnerabilities could allow an attacker to
enact a denial of service against a server or execute a cross
scripting attack, or steal cookies from other web site users.
Vulnerabilities in the included lecacy programs htdigest, htpasswd and
ApacheBench can be exploited when called via CGI.  Additionally the
insecure temporary file creation in htdigest and htpasswd can also be
exploited locally.  The Common Vulnerabilities and Exposures (CVE)
project identified the following vulnerabilities:

1. CAN-2002-0839: A vulnerability exists on platforms using System V
   shared memory based scoreboards.  This vulnerability allows an
   attacker to execute code under the Apache UID to exploit the Apache
   shared memory scoreboard format and send a signal to any process as
   root or cause a local denial of service attack.

2. CAN-2002-0840: Apache is susceptible to a cross site scripting
   vulnerability in the default 404 page of any web server hosted on a
   domain that allows wildcard DNS lookups.

3. CAN-2002-0843: There were some possible overflows in the utility
   ApacheBench (ab) which could be exploited by a malicious server.

4. CAN-2002-1233: A race condition in the htpasswd and htdigest
   program enables a malicious local user to read or even modify the
   contents of a password file or easily create and overwrite files as
   the user running the htpasswd (or htdigest respectively) program.
5. CAN-2001-0131: htpasswd and htdigest in Apache 2.0a9, 1.3.14, and
   others allows local users to overwrite arbitrary files via a
   symlink attack.

   This is the same vulnerability as CAN-2002-1233, which was fixed in
   potato already but got lost later and was never applied upstream.

5. NO-CAN: Several buffer overflows have been found in the ApacheBench
   (ab) utility that could be exploited by a remote server returning
   very long strings.

These problems have been fixed in version 1.3.26.1+1.48-0woody3 for
the current stable distribution (woody) and in 1.3.9.13-4.2 for the
old stable distribution (potato).  Corrected packages for the unstable
distribution (sid) are expected soon.

We recommend that you upgrade your Apache-SSL package immediately.

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 2.2 alias potato
---------------------------------

  Source archives:

      
      Size/MD5 checksum:      741 9b4125e33235ec9635042f439cb00f56
      
      Size/MD5 checksum:    32210 b182c280fef5c37ee5a5beab73ad9719
      
      Size/MD5 checksum:  2061578 e28b3b656449a5a2f9080286ae3d743e

  Alpha architecture:

      
      Size/MD5 checksum:   464208 1a4a83064ea982b2c65c6b996089938c

  ARM architecture:

      
      Size/MD5 checksum:   412988 312bd6f05abf39042bc3f1b8decf52e6

  Intel IA-32 architecture:

      
      Size/MD5 checksum:   407672 06e8c865ae2e345ee0d0c79e784d4882

  Motorola 680x0 architecture:

      
      Size/MD5 checksum:   396318 2ea46b30e0c7c0d1925736b823a6b4a3

  PowerPC architecture:

      
      Size/MD5 checksum:   419722 1439a5ea30b4eee1785aca69f4c5a91f

  Sun Sparc architecture:

      
      Size/MD5 checksum:   421204 89b2c9d9c14720240ef9d85f27edd010


Debian GNU/Linux 3.0 alias woody
--------------------------------

  Source archives:

      
      Size/MD5 checksum:      755 53845132be2c3c7513caa89d28e0d76a
      
      Size/MD5 checksum:    38862 95a88e7c3c47467ca5387ebb6a30f899
      
      Size/MD5 checksum:  2949638 aeab5d0b18d5275628276e0e4f6031e2

  Alpha architecture:

      
      Size/MD5 checksum:   463040 a6b257bee720e61cf2285fd791872ccf

  ARM architecture:

      
      Size/MD5 checksum:   420702 b986bbf04d32abbefcc063f585c732e5

  Intel IA-32 architecture:

      
      Size/MD5 checksum:   411798 4a11dfd3197fd18dc39ecb29708c1fe0

  Intel IA-64 architecture:

      
      Size/MD5 checksum:   519094 6b206d1296376e26106c5ea51d51e56c

  HP Precision architecture:

      
      Size/MD5 checksum:   448432 3d4728d15521ec9d71415e17adc0dedb

  Motorola 680x0 architecture:

      
      Size/MD5 checksum:   406288 2775fac4b6755d8fb1bf35f5293a09e8

  Big endian MIPS architecture:

      
      Size/MD5 checksum:   433814 dc34a78dba69aac3dcbb9a90418eef1c

  Little endian MIPS architecture:
      
      Size/MD5 checksum:   433178 e33531174fa2f640688f8b93d6e23501

  PowerPC architecture:

      
      Size/MD5 checksum:   424346 57b86247482ef3f8c1220c48b8d2fe0a

  IBM S/390 architecture:

      
      Size/MD5 checksum:   422288 f4bef442fe346e0592b06eeeaaa1e020

  Sun Sparc architecture:

      
      Size/MD5 checksum:   421892 d646fb279d579741c57a60a393c97f88


  These files will probably be moved into the stable distribution on
  its next revision.

---------------------------------------------------------------------------------
For apt-get: deb  Debian -- Security Information  stable/updates main
For dpkg-ftp:    dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and  http://packages.debian.org/






Debian: apache-ssl multiple vulnerabilities

November 5, 2002
There are vulnerabilities that could allow an attacker to enact a denial of service against a server or execute a cross scripting attack, or steal cookies from other web site users

Summary

According to David Wagner, iDEFENSE and the Apache HTTP Server
Project, several vulnerabilities have been found in the Apache
package, a commonly used webserver. Most of the code is shared
between the Apache and Apache-SSL packages, so vulnerabilities are
shared as well. These vulnerabilities could allow an attacker to
enact a denial of service against a server or execute a cross
scripting attack, or steal cookies from other web site users.
Vulnerabilities in the included lecacy programs htdigest, htpasswd and
ApacheBench can be exploited when called via CGI. Additionally the
insecure temporary file creation in htdigest and htpasswd can also be
exploited locally. The Common Vulnerabilities and Exposures (CVE)
project identified the following vulnerabilities:

1. CAN-2002-0839: A vulnerability exists on platforms using System V
shared memory based scoreboards. This vulnerability allows an
attacker to execute code under the Apache UID to exploit the Apache
shared memory scoreboard format and send a signal to any process as
root or cause a local denial of service attack.

2. CAN-2002-0840: Apache is susceptible to a cross site scripting
vulnerability in the default 404 page of any web server hosted on a
domain that allows wildcard DNS lookups.

3. CAN-2002-0843: There were some possible overflows in the utility
ApacheBench (ab) which could be exploited by a malicious server.

4. CAN-2002-1233: A race condition in the htpasswd and htdigest
program enables a malicious local user to read or even modify the
contents of a password file or easily create and overwrite files as
the user running the htpasswd (or htdigest respectively) program.
5. CAN-2001-0131: htpasswd and htdigest in Apache 2.0a9, 1.3.14, and
others allows local users to overwrite arbitrary files via a
symlink attack.

This is the same vulnerability as CAN-2002-1233, which was fixed in
potato already but got lost later and was never applied upstream.

5. NO-CAN: Several buffer overflows have been found in the ApacheBench
(ab) utility that could be exploited by a remote server returning
very long strings.

These problems have been fixed in version 1.3.26.1+1.48-0woody3 for
the current stable distribution (woody) and in 1.3.9.13-4.2 for the
old stable distribution (potato). Corrected packages for the unstable
distribution (sid) are expected soon.

We recommend that you upgrade your Apache-SSL package immediately.

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 2.2 alias potato
---------------------------------

Source archives:


Size/MD5 checksum: 741 9b4125e33235ec9635042f439cb00f56

Size/MD5 checksum: 32210 b182c280fef5c37ee5a5beab73ad9719

Size/MD5 checksum: 2061578 e28b3b656449a5a2f9080286ae3d743e

Alpha architecture:


Size/MD5 checksum: 464208 1a4a83064ea982b2c65c6b996089938c

ARM architecture:


Size/MD5 checksum: 412988 312bd6f05abf39042bc3f1b8decf52e6

Intel IA-32 architecture:


Size/MD5 checksum: 407672 06e8c865ae2e345ee0d0c79e784d4882

Motorola 680x0 architecture:


Size/MD5 checksum: 396318 2ea46b30e0c7c0d1925736b823a6b4a3

PowerPC architecture:


Size/MD5 checksum: 419722 1439a5ea30b4eee1785aca69f4c5a91f

Sun Sparc architecture:


Size/MD5 checksum: 421204 89b2c9d9c14720240ef9d85f27edd010


Debian GNU/Linux 3.0 alias woody
--------------------------------

Source archives:


Size/MD5 checksum: 755 53845132be2c3c7513caa89d28e0d76a

Size/MD5 checksum: 38862 95a88e7c3c47467ca5387ebb6a30f899

Size/MD5 checksum: 2949638 aeab5d0b18d5275628276e0e4f6031e2

Alpha architecture:


Size/MD5 checksum: 463040 a6b257bee720e61cf2285fd791872ccf

ARM architecture:


Size/MD5 checksum: 420702 b986bbf04d32abbefcc063f585c732e5

Intel IA-32 architecture:


Size/MD5 checksum: 411798 4a11dfd3197fd18dc39ecb29708c1fe0

Intel IA-64 architecture:


Size/MD5 checksum: 519094 6b206d1296376e26106c5ea51d51e56c

HP Precision architecture:


Size/MD5 checksum: 448432 3d4728d15521ec9d71415e17adc0dedb

Motorola 680x0 architecture:


Size/MD5 checksum: 406288 2775fac4b6755d8fb1bf35f5293a09e8

Big endian MIPS architecture:


Size/MD5 checksum: 433814 dc34a78dba69aac3dcbb9a90418eef1c

Little endian MIPS architecture:

Size/MD5 checksum: 433178 e33531174fa2f640688f8b93d6e23501

PowerPC architecture:


Size/MD5 checksum: 424346 57b86247482ef3f8c1220c48b8d2fe0a

IBM S/390 architecture:


Size/MD5 checksum: 422288 f4bef442fe346e0592b06eeeaaa1e020

Sun Sparc architecture:


Size/MD5 checksum: 421892 d646fb279d579741c57a60a393c97f88


These files will probably be moved into the stable distribution on
its next revision.

Severity
Package : apache-ssl
Vulnerability : several
Problem-Type : remote, local
Debian-specific: no
CVE Id : CAN-2002-0839 CAN-2002-0840 CAN-2002-0843 CAN-2001-0131 CAN-2002-1233
BugTraq ID : 5847 5884 5887

Related News