Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

More on LinuxToday


Red Hat Linux Advisory: apache

Dec 18, 2003, 16:54 (0 Talkback[s])

Red Hat Security Advisory

Synopsis: Updated apache packages fix minor security vulnerability
Advisory ID: RHSA-2003:405-00
Issue date: 2003-12-18
Updated on: 2003-12-18
Product: Red Hat Linux
Keywords: Apache httpd ASF
Cross references:  
Obsoletes:  
CVE Names: CAN-2003-0542

Topic:

Updated Apache packages that fix a minor security issue are now available for Red Hat Linux 7.1, 7.2, and 7.3.

2. Relevant releases/architectures:

Red Hat Linux 7.1 - i386
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386

3. Problem description:

The Apache HTTP server is a powerful, full-featured, efficient, and freely-available Web server.

An issue in the handling of regular expressions from configuration files was discovered in releases of the Apache HTTP Server version 1.3 prior to 1.3.29. To exploit this issue an attacker would need to have the ability to write to Apache configuration files such as .htaccess or httpd.conf. A carefully-crafted configuration file can cause an exploitable buffer overflow and would allow the attacker to execute arbitrary code in the context of the server (in default configurations as the 'apache' user). The Common Vulnerabilities and Exposures project (cve.mitre.org/) has assigned the name CAN-2003-0542 to this issue.

All users of the Apache HTTP Web Server are advised to upgrade to the applicable errata packages, which contain back-ported fixes correcting this issue.

4. Solution:

Before applying this update, make sure all previously released errata relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory only contains the desired RPMs.

Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.

If up2date fails to connect to Red Hat Network due to SSL Certificate Errors, you need to install a version of the up2date client with an updated certificate. The latest version of up2date is available from the Red Hat FTP site and may also be downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

108639 - CAN-2003-0542 Local buffer overflow in mod_alias, mod_rewrite

6. RPMs required:

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/apache-1.3.27-3.7.1.src.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/apache-1.3.27-3.7.1.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/apache-devel-1.3.27-3.7.1.i386.rpm
ftp://updates.redhat.com/7.1/en/os/i386/apache-manual-1.3.27-3.7.1.i386.rpm

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/apache-1.3.27-3.7.2.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/apache-1.3.27-3.7.2.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/apache-devel-1.3.27-3.7.2.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/apache-manual-1.3.27-3.7.2.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/apache-1.3.27-3.7.2.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/apache-devel-1.3.27-3.7.2.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/apache-manual-1.3.27-3.7.2.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/apache-1.3.27-4.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/apache-1.3.27-4.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/apache-devel-1.3.27-4.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/apache-manual-1.3.27-4.i386.rpm

7. Verification:

MD5 sum Package Name


818f5bd5242b4f953e6b0829a80e1e3b 7.1/en/os/SRPMS/apache-1.3.27-3.7.1.src.rpm
2f3f4e3613065582f20c5d246f8f8ded 7.1/en/os/i386/apache-1.3.27-3.7.1.i386.rpm
852848c76748a17e8915ba5bf63cd161 7.1/en/os/i386/apache-devel-1.3.27-3.7.1.i386.rpm
2203e87dc9c7822dbc6c3ae46fb22142 7.1/en/os/i386/apache-manual-1.3.27-3.7.1.i386.rpm
1d0b86dc701e632976e0474a18c70575 7.2/en/os/SRPMS/apache-1.3.27-3.7.2.src.rpm
f56dfab01167b2d9266191c176981c92 7.2/en/os/i386/apache-1.3.27-3.7.2.i386.rpm
00b06351ce523b0ecc4f87b25c28573f 7.2/en/os/i386/apache-devel-1.3.27-3.7.2.i386.rpm
6ed8659e10b67cd5991eda38071abfba 7.2/en/os/i386/apache-manual-1.3.27-3.7.2.i386.rpm
ee1c38f5dd6a8aa64da9305d0759236d 7.2/en/os/ia64/apache-1.3.27-3.7.2.ia64.rpm
2cd991d146dafed70d0311d998a71a4c 7.2/en/os/ia64/apache-devel-1.3.27-3.7.2.ia64.rpm
5a70935273b9ea690b34aa9e7c9a3070 7.2/en/os/ia64/apache-manual-1.3.27-3.7.2.ia64.rpm
cc6f145986e8c3c19aa97e683c5627f4 7.3/en/os/SRPMS/apache-1.3.27-4.src.rpm
6efa4ae5ec4e14fdf582662b188d391e 7.3/en/os/i386/apache-1.3.27-4.i386.rpm
77bda8d379841186fd4d794d5c25cce6 7.3/en/os/i386/apache-devel-1.3.27-4.i386.rpm
b4d474cc10c15cc92a2460b6722cadce 7.3/en/os/i386/apache-manual-1.3.27-4.i386.rpm

These packages are GPG signed by Red Hat for security. Our key is available from https://www.redhat.com/security/keys.html

You can verify each package with the following command:

rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or tampered with, examine only the md5sum with the following command:

md5sum <filename>

8. References:

http://www.apacheweek.com/features/security-13.html
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0542

9. Contact:

The Red Hat security contact is <secalert@redhat.com>. More contact details at https://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.