[UNIX] OpenSSL Multiple Vulnerabilities (Malformed ASN.1, Malformed Public Key)

From: SecuriTeam (support_at_securiteam.com)
Date: 10/01/03

  • Next message: SecuriTeam: "[NEWS] TCLHttpd Contains Two Vulnerabilities (Directory Browsing, XSS)"
    To: list@securiteam.com
    Date: 1 Oct 2003 10:27:37 +0200
    
    

    The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
    - - promotion

    The SecuriTeam alerts list - Free, Accurate, Independent.

    Get your security news from a reliable source.
    http://www.securiteam.com/mailinglist.html

    - - - - - - - - -

      OpenSSL Multiple Vulnerabilities (Malformed ASN.1, Malformed Public Key)
    ------------------------------------------------------------------------

    SUMMARY

    NISCC (www.niscc.gov.uk) prepared a test suite to check the operation of
    SSL/TLS software when presented with a wide range of malformed client
    certificates.

    Dr Stephen Henson (steve@openssl.org) of the OpenSSL core team identified
    and prepared fixes for a number of vulnerabilities in the OpenSSL ASN1
    code when running the test suite.

    A bug in OpenSSLs SSL/TLS protocol was also identified which causes
    OpenSSL to parse a client certificate from an SSL/TLS client when it
    should reject it as a protocol error.

    DETAILS

    1. Certain ASN.1 encodings that are rejected as invalid by the parser can
    trigger a bug in the deallocation of the corresponding data structure,
    corrupting the stack. This can be used as a denial of service attack. It
    is currently unknown whether this can be exploited to run malicious code.
    This issue does not affect OpenSSL 0.9.6.

    2. Unusual ASN.1 tag values can cause an out of bounds read under certain
    circumstances, resulting in a denial of service vulnerability.

    3. A malformed public key in a certificate will crash the verify code if
    it is set to ignore public key decoding errors. Public key decode errors
    are not normally ignored, except for debugging purposes, so this is
    unlikely to affect production code. Exploitation of an affected
    application would result in a denial of service vulnerability.

    4. Due to an error in the SSL/TLS protocol handling, a server will parse a
    client certificate when one is not specifically requested. This by itself
    is not strictly speaking a vulnerability but it does mean that *all*
    SSL/TLS servers that use OpenSSL can be attacked using vulnerabilities 1,
    2 and 3 even if they don't enable client authentication.

    Who is affected?
    All versions of OpenSSL up to and including 0.9.6j and 0.9.7b and all
    versions of SSLeay are affected.

    Any application that makes use of OpenSSL's ASN1 library to parse
    untrusted data. This includes all SSL or TLS applications, those using
    S/MIME (PKCS#7) or certificate generation routines.

    Recommendations:
    Upgrade to OpenSSL 0.9.7c or 0.9.6k. Recompile any OpenSSL applications
    statically linked to OpenSSL libraries.

    ADDITIONAL INFORMATION

    The information has been provided by <mailto:steve@openssl.org> Dr
    Stephen Henson of OpenSSL.

    ========================================

    This bulletin is sent to members of the SecuriTeam mailing list.
    To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    DISCLAIMER:
    The information in this bulletin is provided "AS IS" without warranty of any kind.
    In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.


  • Next message: SecuriTeam: "[NEWS] TCLHttpd Contains Two Vulnerabilities (Directory Browsing, XSS)"

    Relevant Pages

    • [NEWS] OpenSSL SSL 2.0 Rollback
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The vulnerability potentially ... affected by the OpenSSL Roolback vulnerability. ... "man in the middle" can force a client and a server to negotiate the SSL ...
      (Securiteam)
    • [NEWS] OpenSSL NULL Pointer Assignment and Kerberos Ciphersuites Out-of-bounds
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Testing performed by the OpenSSL group using the Codenomicon TLS Test Tool ... A remote attacker could perform a carefully crafted SSL/TLS ... Out-of-bounds Read Affects Kerberos Ciphersuites ...
      (Securiteam)
    • [NEWS] Multiple OpenSSL TLS Vulnerabilities
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... OpenSSL has two TLS related programming errors which cause it to crash. ... The first error causes OpenSSL to crash to segmentation fault when it ... 'Server Key exchange message' is omitted from the TLS handshake. ...
      (Securiteam)
    • [NEWS] Novell iManager OpenSSL ASN Parsing Vulnerability
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Novell iManager includes an installation of OpenSSL that is vulnerable to ... OpenSSL ASN.1 Parsing vulnerability in Apache ...
      (Securiteam)
    • [NEWS] Denial of Service in ASN.1 Parsing
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... vulnerability in OpenSSL version 0.9.6k when running on a Windows ... On platforms such as Windows, ... MD5 checksum: 843a65ddc56634f0e30a4f9474bb5b27 ...
      (Securiteam)