what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

opensslAgain.txt

opensslAgain.txt
Posted Oct 2, 2003
Authored by Patrik Hornik

Originally discovered in the source code for build 32 of the RedHat OpenSSL rpm, another denial of service vulnerability was recently discovered that would disable an SSLv2 server. Any build after 32 of the RedHat RPM and 0.9.7c of OpenSSL have already addressed and fixed this issue.

tags | advisory, denial of service
systems | linux, redhat
SHA-256 | 00325774735f7cdba433936c32fc5730fe0ffd361e1b8f7dfc2fb8ab13d87a16

opensslAgain.txt

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

======================================================================
Security advisory 20031002
- ----------------------------------------------------------------------
Product: openssl
Issue date: 2003/10/02
Last updated: 2003/10/02
======================================================================



OpenSSL remote vulnerability
============================

Mr. Hornik discovered remote vulnerability in OpenSSL package provided
by RedHat. Because of nature of this bug some other vendors can be
vulnerable too. This vulnerability is inside SSLv2 server code and
allows killing remote process running OpenSSL library as SSL server,
resulting in DoS.

The vulnerability is different from one found in SSLv2 OpenSSL server
announced on 2002/07/30.


Vulnerability
- -------------

By constructing special SSLv2 CLIENT_MASTER_KEY message the following
execution path can be obtained - we are reffering to source lines from
openssl-0.9.6b-32.7.src.rpm from RH 7.3.

When:
i, negotated cipher is some export cipher, for example EXP-RC4-MD5
ii, length of the clear is increased for example by 64 (see below)

Then this execution path happens:
1, on ssl/s2_srvr.c:419 condition is_export && (s->s2->tmp.clear+i !=
EVP_CIPHER_key_length(c)) becomes true because of i, and ii,
2, on ssl/s2_srvr.c:424 i is "fixed", but tmp.clear stays unchanged
3, on ssl/s2_srvr.c:450 because is_export is true integer variable i
is increased by big enough value (ii,)
4, on ssl/s2_srvr.c:451 die causes abort of the process leading to DoS


Who is affected?
- ----------------

Affected are all RedHat distributions up to version 8.0 including.
RedHat published patch on 2003/09/30 silently without issuing warning
about existence of vulnerability. RedHat announced the patch in its
advisory RHSA-2003:291-11.

openssl.org sources starting with version 0.9.6f and distribution
packages based on these versions are not vulnerable, because OpenSSL
starting from 0.9.6f are avoiding using die() call because of its
potential risk.


Recommendations
- ---------------

We recommend to upgrade openssl package to the version issued on
2003/09/30 and after in all RedHat distributions up to 8.0. Until the
new version will be installed we recommend to disable SSLv2
functionality whenever it is possible. (In Apache + mod_ssl for
example it is enabled by default and it can be disabled, please refer
to mod_ssl documentation.)


References
- ----------

OpenSSL project:
http://www.openssl.org/
OpenSSL vulnerability announced on 2002/07/30:
http://www.openssl.org/news/secadv_20020730.txt

This security advisory:
http://www.ebitech.sk/patrik/SA/SA-20031002.txt


Contact
- -------

Patrik Hornik
- --
Security Consultant

Email: patrik.hornik@ebitech.sk
Phone: +421 905 385 666
PGP KeyID: DFA5BC67

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2i

iQA/AwUBP3vPZCTdn3LfpbxnEQLzGACfdijq9XR5t6xZOD5DVpppRALzx9AAn2rn
YSRmV1AzKuatK5UMEJVuJDJM
=ajOd
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close