(Fedora Issues Fix for RH Linux) mod_ssl Format String Error in 'ssl_engine_ext' May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1011703
|
|
SecurityTracker URL: http://securitytracker.com/id?1011703
|
|
CVE Reference: CAN-2004-0700
(Links to External Site)
|
|
OSVDB Reference: 7929
(Links to External Site)
|
Date: Oct 15 2004
|
Impact: Execution of arbitrary code via network, User access via network
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Version(s): prior to 2.8.19-1.3.31
|
Description: A format string vulnerability was reported in mod_ssl. In certain cases where Apache mod_proxy is also used, a remote user may be able to cause arbitrary code to be executed on the target user's system.
Ralf S. Engelschall reported that if Apache is used as a proxy and an HTTPS URL such as 'https://foo%s.example.com/' is supplied
and a hostname 'foo%s' exists in the 'example.com' zone, the flaw can reportedly be triggered.
The flaw reportedly resides in
an error message call in 'ssl_engine_ext.c'.
The report credits Virulent <virulent@siyahsapka.org> with reporting a similar bug
(that was reportedly not exploitable) and triggering a review of the code.
|
Impact: A remote user may be able to cause arbitrary code to be executed on the target system in certain cases.
|
Solution: Fedora has released a fix, available at:
Red Hat Linux 7.3:
SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/mod_ssl-2.8.12-6.legacy.src.rpm
i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/mod_ssl-2.8.12-6.legacy.i386.rpm
The SHA1 verification checksums are:
211714e3a8faab1152e76471f1085f3d8ef
30400
7.3/updates/i386/mod_ssl-2.8.12-6.legacy.i386.rpm
027bf3500924d4bb58bd8bb0ed452420a0e134bc
7.3/updates/SRPMS/mod_ssl-2.8.12-6.legacy.src.rpm
|
Vendor URL: www.modssl.org/ (Links to External Site)
|
Cause: Input validation error, State error
|
Underlying OS: Linux (Red Hat Linux)
|
Underlying OS Comments: 7.3
|
Reported By: Marc Deslauriers <marcdeslauriers@videotron.ca>
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Wed, 13 Oct 2004 18:51:07 -0400
From: Marc Deslauriers <marcdeslauriers@videotron.ca>
Subject: [Full-Disclosure] [FLSA-2004:1888] Updated mod_ssl package fixes Apache security
|
--=-oMGb/i2uSGyqzYiSUrgz
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
-----------------------------------------------------------------------
Fedora Legacy Update Advisory
Synopsis: Updated mod_ssl package fixes Apache security
vulnerabilities
Advisory ID: FLSA:1888
Issue date: 2004-10-13
Product: Red Hat Linux
Keywords: Bugfix
Cross references: https://bugzilla.fedora.us/show_bug.cgi?id=3D1888
CVE Names: CAN-2004-0488 CAN-2004-0700
-----------------------------------------------------------------------
-----------------------------------------------------------------------
1. Topic:
Updated mod_ssl packages that fix minor security issues in the Apache
Web server are now available.
The Apache HTTP Server is a powerful, full-featured, efficient, and
freely-available Web server.
2. Relevant releases/architectures:
Red Hat Linux 7.3 - i386
3. Problem description:
A stack buffer overflow was discovered in mod_ssl which can be triggered
if using the FakeBasicAuth option. If mod_ssl is sent a client
certificate with a subject DN field longer than 6000 characters, a stack
overflow can occur if FakeBasicAuth has been enabled. In order to
exploit this issue the carefully crafted malicious certificate would
have to be signed by a Certificate Authority which mod_ssl is configured
to trust. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-0488 to this issue.
A format string issue was discovered in mod_ssl for Apache 1.3 which can
be triggered if mod_ssl is configured to allow a client to proxy to
remote SSL sites. In order to exploit this issue, a user who is
authorized to use Apache as a proxy would have to attempt to connect to
a carefully crafted hostname via SSL. The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0700 to
this issue.
All users of the Apache HTTP Server are advised to upgrade to these
erratum packages, which contain a backported fix and are not vulnerable
to 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 yum and apt. Many
people find this an easier way to apply updates. To use yum issue:
yum update
or to use apt:
apt-get update; apt-get upgrade
This will start an interactive process that will result in the
appropriate RPMs being upgraded on your system. This assumes that you
have yum or apt-get configured for obtaining Fedora Legacy content.
Please visit http://www fedoralegacy.org/docs for directions on how to
configure yum and apt-get.
5. Bug IDs fixed:
http://bugzilla.fedora.us - bug #1708
http://bugzilla.fedora.us - bug #1888
6. RPMs required:
Red Hat Linux 7.3:
SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/mod_ssl-2.8.12-6.=
legacy.src.rpm
i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/mod_ssl-2.8.12-6.l=
egacy.i386.rpm
7. Verification:
SHA1 sum Package Name
---------------------------------------------------------------------------
211714e3a8faab1152e76471f1085f3d8ef30400
7.3/updates/i386/mod_ssl-2.8.12-6.legacy.i386.rpm
027bf3500924d4bb58bd8bb0ed452420a0e134bc
7.3/updates/SRPMS/mod_ssl-2.8.12-6.legacy.src.rpm
These packages are GPG signed by Fedora Legacy for security. Our key is
available from http://www.fedoralegacy org/about/security.php
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 sha1sum with the following command:
sha1sum <filename>
8. References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCAN-2004-0488
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCAN-2004-0700
9. Contact:
The Fedora Legacy security contact is <secnotice@fedoralegacy.org>. More
project details at http://www.fedoralegacy.org
---------------------------------------------------------------------
--=-oMGb/i2uSGyqzYiSUrgz
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQBBbbFbLMAs/0C4zNoRAuvFAKCLvoTZkdUOop0mCZPSQqFKocI35QCgvFJu
lxwnEXfNEPdq4N77PKsQE5E=
=ladd
-----END PGP SIGNATURE-----
--=-oMGb/i2uSGyqzYiSUrgz--
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html
|
|