All pastes #264 Raw Edit

20040304

public text v1 · immutable
#264 ·published 2004-07-09 02:05 UTC
rendered paste body
proso asterisk # glsa-check -d 200403-04
WARNING: This tool is completely new and not very tested, so it should not be
used on production systems. It's mainly a test tool for the new GLSA release
and distribution system, it's functionality will later be merged into emerge
and equery.
Please read http://www.gentoo.org/proj/en/portage/glsa-integration.xml
before using this tool AND before reporting a bug.

       GLSA 200403-04: Multiple security vulnerabilities in Apache 2
============================================================================
Synopsis:          A memory leak in mod_ssl allows a remote denial of
                   service attack against an SSL-enabled server via plain
                   HTTP requests. Another flaw was found when arbitrary
                   client-supplied strings can be written to the error log,
                   allowing the exploit of certain terminal emulators. A
                   third flaw exists with the mod_disk_cache module.
Announced on:      March 22, 2004
Last revised on:   March 26, 2004: 02

Affected package:  net-www/apache
Affected archs:    All
Vulnerable:        <=2.0.48
Unaffected:        =1.3* >=2.0.49


Related bugs:      45206

Background:        The Apache HTTP Server Project is an effort to develop
                   and maintain an open-source HTTP server for modern
                   operating systems. The goal of this project is to provide
                   a secure, efficient and extensible server that provides
                   services in tune with the current HTTP standards.

Description:       Three vulnerabilities were found:
                   1.
                   2. A memory leak in ssl_engine_io.c for mod_ssl in Apache
                   2.0.48 and below allows remote attackers to cause a
                   denial of service attack via plain HTTP requests to the
                   SSL port of an SSL-enabled server.
                   3.
                   4. Apache fails to filter terminal escape sequences from
                   error logs that begin with the ASCII (0x1B) sequence and
                   are followed by a series of arguments. If a remote
                   attacker could inject escape sequences into an Apache
                   error log, the attacker could take advantages of
                   weaknesses in various terminal emulators, launching
                   attacks against remote users including further denial of
                   service attacks, file modification, and the execution of
                   arbitrary commands.
                   5.
                   6. The Apache mod_disk_cache has been found to be
                   vulnerable to a weakness that allows attackers to gain
                   access to authentication credentials through the issue of
                   caching HTTP hop-by-hop headers which would contain
                   plaintext user passwords. There is no available
                   resolution for this issue yet.
                   7.

Impact:            No special privileges are required for these
                   vulnerabilities. As a result, all users are recommended
                   to upgrade their Apache installations.

Workaround:        There is no immediate workaround; a software upgrade is
                   required. There is no workaround for the mod_disk_cache
                   issue; users are recommended to disable the feature on
                   their servers until a patched version is released.

Resolution:        Users are urged to upgrade to Apache 2.0.49:

                   # emerge sync
                   # emerge -pv ">=net-www/apache-2.0.49"
                   # emerge ">=net-www/apache-2.0.49"

                   # ** IMPORTANT **

                   # If you are migrating from Apache 2.0.48-r1 or earlier
                   versions,!;\n # it is important that the following
                   directories are removed.

                   # The following commands should cause no data loss since
                   these!;\n # are symbolic links.

                   # rm /etc/apache2/lib /etc/apache2/logs
                   /etc/apache2/modules!;\n # rm
                   /etc/apache2/extramodules!;\n!;\n # ** ** ** **
                   **!;\n!;\n # ** ALSO NOTE **

                   # Users who use mod_disk_cache should edit their
                   Apache!;\n # configuration and disable
                   mod_disk_cache.

References:        Apache mod_disk_cache authentication storage weakness vulnerability: http://www.securityfocus.com/bid/9933/info/
                   Apache HTTP Server 2.0.49 Announcement: http://www.apache.org/dist/httpd/Announcement2.html