SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Security)  >   Mod_ssl Vendors:   Modssl.org
(Fedora Issues Fix for RH Linux) Apache mod_ssl Stack Overflow in ssl_util_uuencode_binary() May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1011704
SecurityTracker URL:  http://securitytracker.com/id/1011704
CVE Reference:   CVE-2004-0488   (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  

Description:   A buffer overflow vulnerability was reported in Apache mod_ssl. A remote user may be able to execute arbitrary code on the target system in certain situations.

Georgi Guninski reported that the ssl_util_uuencode_binary() function in 'ssl_util.c' may allow a remote user to supply a specially crafted Subject-DN in a client certificate to trigger the overflow. According to OpenPKG, the overflow resides in the "SSLOptions +FakeBasicAuth" implementation of mod_ssl and can be triggered if the Subject-DN is longer than 6 KB and mod_ssl is configured to trust the certificate's issuing CA.

Impact:   A remote user may be able to execute arbitrary code 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:

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

Vendor URL:  www.modssl.org/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Linux)
Underlying OS Comments:  7.3

Message History:   This archive entry is a follow-up to the message listed below.
May 28 2004 Apache mod_ssl Stack Overflow in ssl_util_uuencode_binary() May Let Remote Users Execute Arbitrary Code



 Source Message Contents

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

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC