---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated httpd packages fix mod_ssl security flaw
Advisory ID:       RHSA-2004:349-01
Issue date:        2004-09-01
Updated on:        2004-09-01
Product:           Red Hat Enterprise Linux
Keywords:          httpd
CVE Names:         CAN-2004-0748
---------------------------------------------------------------------

1. Summary:

Updated httpd packages that include a security fix for mod_ssl and various
enhancements are now available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

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

An input filter bug in mod_ssl was discovered in Apache httpd version
2.0.50 and earlier.  A remote attacker could force an SSL connection to be
aborted in a particular state and cause an Apache child process to enter an
infinite loop, consuming CPU resources.  The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0748 to
this issue.

Additionally, this update includes the following enhancements and bug fixes:

- included an improved version of the mod_cgi module that correctly handles
  concurrent output on stderr and stdout

- included support for direct lookup of SSL variables using %{SSL:...}
  from mod_rewrite, or using %{...}s from mod_headers
- restored support for use of SHA1-encoded passwords

- added the mod_ext_filter module

Users of the Apache HTTP server should upgrade to these updated packages,
which contain backported patches that address these issues.

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.

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

112216 - 4097+ bytes of stderr from cgi script causes script to hang
117959 - Apache autoindex corrupt when > 2GB file in tree
119651 - HTTP authentication against password file with SHA1 password hashes fails
120072 - please enable mod_ext_filter
120096 - mod_ssl environment variables not available in mod_rewrite rules

6. RPMs required:

Red Hat Enterprise Linux AS version 3:

SRPMS: 

1988340a6e8be0c63b10c388b1243569  httpd-2.0.46-38.ent.src.rpm

i386:
a5b8f9a72302e14c0f410f7f83a39d32  httpd-2.0.46-38.ent.i386.rpm
d8b74b3477300b5a4a156c59f5e0d4a5  httpd-devel-2.0.46-38.ent.i386.rpm
8f734e5757c8c897cf71a6109af7d632  mod_ssl-2.0.46-38.ent.i386.rpm

ia64:
d5ac022099d9b76006e823a3f9c07c69  httpd-2.0.46-38.ent.ia64.rpm
3a66d83595e19843fcf552fd07bcfe29  httpd-devel-2.0.46-38.ent.ia64.rpm
3c4d1bfb5b407da142c515d32782ec02  mod_ssl-2.0.46-38.ent.ia64.rpm

ppc:
bc92043b213069bcf78aad0dffad74b4  httpd-2.0.46-38.ent.ppc.rpm
b9156531a43492b3a5504375104fa473  httpd-devel-2.0.46-38.ent.ppc.rpm
62593d85534ce48a38efa04fa7fa0b99  mod_ssl-2.0.46-38.ent.ppc.rpm

s390:
b8e7476c417c7eba2b46704fa446216c  httpd-2.0.46-38.ent.s390.rpm
30f45622c9de74914983c0a31f638c16  httpd-devel-2.0.46-38.ent.s390.rpm
4d3abcba4b77985fcdb1ac78a844a5c4  mod_ssl-2.0.46-38.ent.s390.rpm

s390x:
27ad42b7d9018420c725338622dfef35  httpd-2.0.46-38.ent.s390x.rpm
49511800564746aa927bf7f224f0598e  httpd-devel-2.0.46-38.ent.s390x.rpm
a22a2b21a0bdf04efec6ac07f2884ea9  mod_ssl-2.0.46-38.ent.s390x.rpm

x86_64:
ed7ec8f521a72ceb98e339f7ee667aeb  httpd-2.0.46-38.ent.x86_64.rpm
6d3bd873b963a3ff1c40bef74e7e7566  httpd-devel-2.0.46-38.ent.x86_64.rpm
c851e372161ce0262678158dd39d5191  mod_ssl-2.0.46-38.ent.x86_64.rpm

Red Hat Desktop version 3:

SRPMS: 

1988340a6e8be0c63b10c388b1243569  httpd-2.0.46-38.ent.src.rpm

i386:
a5b8f9a72302e14c0f410f7f83a39d32  httpd-2.0.46-38.ent.i386.rpm
d8b74b3477300b5a4a156c59f5e0d4a5  httpd-devel-2.0.46-38.ent.i386.rpm
8f734e5757c8c897cf71a6109af7d632  mod_ssl-2.0.46-38.ent.i386.rpm

x86_64:
ed7ec8f521a72ceb98e339f7ee667aeb  httpd-2.0.46-38.ent.x86_64.rpm
6d3bd873b963a3ff1c40bef74e7e7566  httpd-devel-2.0.46-38.ent.x86_64.rpm
c851e372161ce0262678158dd39d5191  mod_ssl-2.0.46-38.ent.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS: 

1988340a6e8be0c63b10c388b1243569  httpd-2.0.46-38.ent.src.rpm

i386:
a5b8f9a72302e14c0f410f7f83a39d32  httpd-2.0.46-38.ent.i386.rpm
d8b74b3477300b5a4a156c59f5e0d4a5  httpd-devel-2.0.46-38.ent.i386.rpm
8f734e5757c8c897cf71a6109af7d632  mod_ssl-2.0.46-38.ent.i386.rpm

ia64:
d5ac022099d9b76006e823a3f9c07c69  httpd-2.0.46-38.ent.ia64.rpm
3a66d83595e19843fcf552fd07bcfe29  httpd-devel-2.0.46-38.ent.ia64.rpm
3c4d1bfb5b407da142c515d32782ec02  mod_ssl-2.0.46-38.ent.ia64.rpm

x86_64:
ed7ec8f521a72ceb98e339f7ee667aeb  httpd-2.0.46-38.ent.x86_64.rpm
6d3bd873b963a3ff1c40bef74e7e7566  httpd-devel-2.0.46-38.ent.x86_64.rpm
c851e372161ce0262678158dd39d5191  mod_ssl-2.0.46-38.ent.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS: 

1988340a6e8be0c63b10c388b1243569  httpd-2.0.46-38.ent.src.rpm

i386:
a5b8f9a72302e14c0f410f7f83a39d32  httpd-2.0.46-38.ent.i386.rpm
d8b74b3477300b5a4a156c59f5e0d4a5  httpd-devel-2.0.46-38.ent.i386.rpm
8f734e5757c8c897cf71a6109af7d632  mod_ssl-2.0.46-38.ent.i386.rpm

ia64:
d5ac022099d9b76006e823a3f9c07c69  httpd-2.0.46-38.ent.ia64.rpm
3a66d83595e19843fcf552fd07bcfe29  httpd-devel-2.0.46-38.ent.ia64.rpm
3c4d1bfb5b407da142c515d32782ec02  mod_ssl-2.0.46-38.ent.ia64.rpm

x86_64:
ed7ec8f521a72ceb98e339f7ee667aeb  httpd-2.0.46-38.ent.x86_64.rpm
6d3bd873b963a3ff1c40bef74e7e7566  httpd-devel-2.0.46-38.ent.x86_64.rpm
c851e372161ce0262678158dd39d5191  mod_ssl-2.0.46-38.ent.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
 

7. References:
 
  
CVE -CVE-2004-0748

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at  

Copyright 2004 Red Hat, Inc.

Red Hat: mod_ssl security flaw

Updated httpd packages that include a security fix for mod_ssl and variousenhancements are now available.

Summary



Summary

The Apache HTTP server is a powerful, full-featured, efficient, andfreely-available Web server.An input filter bug in mod_ssl was discovered in Apache httpd version2.0.50 and earlier. A remote attacker could force an SSL connection to beaborted in a particular state and cause an Apache child process to enter aninfinite loop, consuming CPU resources. The Common Vulnerabilities andExposures project (cve.mitre.org) has assigned the name CAN-2004-0748 tothis issue.Additionally, this update includes the following enhancements and bug fixes:- included an improved version of the mod_cgi module that correctly handles concurrent output on stderr and stdout- included support for direct lookup of SSL variables using %{SSL:...} from mod_rewrite, or using %{...}s from mod_headers- restored support for use of SHA1-encoded passwords- added the mod_ext_filter moduleUsers of the Apache HTTP server should upgrade to these updated packages,which contain backported patches that address these issues.


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.
5. Bug IDs fixed (http://bugzilla.redhat.com/ for more info):
112216 - 4097+ bytes of stderr from cgi script causes script to hang 117959 - Apache autoindex corrupt when > 2GB file in tree 119651 - HTTP authentication against password file with SHA1 password hashes fails 120072 - please enable mod_ext_filter 120096 - mod_ssl environment variables not available in mod_rewrite rules
6. RPMs required:
Red Hat Enterprise Linux AS version 3:
SRPMS:
1988340a6e8be0c63b10c388b1243569 httpd-2.0.46-38.ent.src.rpm
i386: a5b8f9a72302e14c0f410f7f83a39d32 httpd-2.0.46-38.ent.i386.rpm d8b74b3477300b5a4a156c59f5e0d4a5 httpd-devel-2.0.46-38.ent.i386.rpm 8f734e5757c8c897cf71a6109af7d632 mod_ssl-2.0.46-38.ent.i386.rpm
ia64: d5ac022099d9b76006e823a3f9c07c69 httpd-2.0.46-38.ent.ia64.rpm 3a66d83595e19843fcf552fd07bcfe29 httpd-devel-2.0.46-38.ent.ia64.rpm 3c4d1bfb5b407da142c515d32782ec02 mod_ssl-2.0.46-38.ent.ia64.rpm
ppc: bc92043b213069bcf78aad0dffad74b4 httpd-2.0.46-38.ent.ppc.rpm b9156531a43492b3a5504375104fa473 httpd-devel-2.0.46-38.ent.ppc.rpm 62593d85534ce48a38efa04fa7fa0b99 mod_ssl-2.0.46-38.ent.ppc.rpm
s390: b8e7476c417c7eba2b46704fa446216c httpd-2.0.46-38.ent.s390.rpm 30f45622c9de74914983c0a31f638c16 httpd-devel-2.0.46-38.ent.s390.rpm 4d3abcba4b77985fcdb1ac78a844a5c4 mod_ssl-2.0.46-38.ent.s390.rpm
s390x: 27ad42b7d9018420c725338622dfef35 httpd-2.0.46-38.ent.s390x.rpm 49511800564746aa927bf7f224f0598e httpd-devel-2.0.46-38.ent.s390x.rpm a22a2b21a0bdf04efec6ac07f2884ea9 mod_ssl-2.0.46-38.ent.s390x.rpm
x86_64: ed7ec8f521a72ceb98e339f7ee667aeb httpd-2.0.46-38.ent.x86_64.rpm 6d3bd873b963a3ff1c40bef74e7e7566 httpd-devel-2.0.46-38.ent.x86_64.rpm c851e372161ce0262678158dd39d5191 mod_ssl-2.0.46-38.ent.x86_64.rpm
Red Hat Desktop version 3:
SRPMS:
1988340a6e8be0c63b10c388b1243569 httpd-2.0.46-38.ent.src.rpm
i386: a5b8f9a72302e14c0f410f7f83a39d32 httpd-2.0.46-38.ent.i386.rpm d8b74b3477300b5a4a156c59f5e0d4a5 httpd-devel-2.0.46-38.ent.i386.rpm 8f734e5757c8c897cf71a6109af7d632 mod_ssl-2.0.46-38.ent.i386.rpm
x86_64: ed7ec8f521a72ceb98e339f7ee667aeb httpd-2.0.46-38.ent.x86_64.rpm 6d3bd873b963a3ff1c40bef74e7e7566 httpd-devel-2.0.46-38.ent.x86_64.rpm c851e372161ce0262678158dd39d5191 mod_ssl-2.0.46-38.ent.x86_64.rpm
Red Hat Enterprise Linux ES version 3:
SRPMS:
1988340a6e8be0c63b10c388b1243569 httpd-2.0.46-38.ent.src.rpm
i386: a5b8f9a72302e14c0f410f7f83a39d32 httpd-2.0.46-38.ent.i386.rpm d8b74b3477300b5a4a156c59f5e0d4a5 httpd-devel-2.0.46-38.ent.i386.rpm 8f734e5757c8c897cf71a6109af7d632 mod_ssl-2.0.46-38.ent.i386.rpm
ia64: d5ac022099d9b76006e823a3f9c07c69 httpd-2.0.46-38.ent.ia64.rpm 3a66d83595e19843fcf552fd07bcfe29 httpd-devel-2.0.46-38.ent.ia64.rpm 3c4d1bfb5b407da142c515d32782ec02 mod_ssl-2.0.46-38.ent.ia64.rpm
x86_64: ed7ec8f521a72ceb98e339f7ee667aeb httpd-2.0.46-38.ent.x86_64.rpm 6d3bd873b963a3ff1c40bef74e7e7566 httpd-devel-2.0.46-38.ent.x86_64.rpm c851e372161ce0262678158dd39d5191 mod_ssl-2.0.46-38.ent.x86_64.rpm
Red Hat Enterprise Linux WS version 3:
SRPMS:
1988340a6e8be0c63b10c388b1243569 httpd-2.0.46-38.ent.src.rpm
i386: a5b8f9a72302e14c0f410f7f83a39d32 httpd-2.0.46-38.ent.i386.rpm d8b74b3477300b5a4a156c59f5e0d4a5 httpd-devel-2.0.46-38.ent.i386.rpm 8f734e5757c8c897cf71a6109af7d632 mod_ssl-2.0.46-38.ent.i386.rpm
ia64: d5ac022099d9b76006e823a3f9c07c69 httpd-2.0.46-38.ent.ia64.rpm 3a66d83595e19843fcf552fd07bcfe29 httpd-devel-2.0.46-38.ent.ia64.rpm 3c4d1bfb5b407da142c515d32782ec02 mod_ssl-2.0.46-38.ent.ia64.rpm
x86_64: ed7ec8f521a72ceb98e339f7ee667aeb httpd-2.0.46-38.ent.x86_64.rpm 6d3bd873b963a3ff1c40bef74e7e7566 httpd-devel-2.0.46-38.ent.x86_64.rpm c851e372161ce0262678158dd39d5191 mod_ssl-2.0.46-38.ent.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from

References

Package List


Severity
Advisory ID: RHSA-2004:349-01
Issued Date: : 2004-09-01
Updated on: 2004-09-01
Product: Red Hat Enterprise Linux
Keywords: httpd
CVE Names: CAN-2004-0748

Topic

Updated httpd packages that include a security fix for mod_ssl and variousenhancements are now available.


Topic


 

Relevant Releases Architectures

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64

Red Hat Desktop version 3 - i386, x86_64

Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64

Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64


Bugs Fixed


Related News