Vulnerability Note VU#732952

OpenSSL accepts unsolicited client certificate messages

Original Release date: 30 Sep 2003 | Last revised: 01 Oct 2003

Overview

OpenSSL accepts unsolicited client certificate messages. This could allow an attacker to exploit underlying vulnerabilities in client certificate handling.

Description

OpenSSL implements the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols and includes a general-purpose cryptographic library. SSL and TLS are commonly used to provide authentication, encryption, integrity, and non-repudiation services to network applications such as HTTP, IMAP, POP3, LDAP, and others. Clients and servers exchange authentication information in X.509 certificates.

Both the (obsolete) SSL 3.0 standard and RFC 2246 (TLSv1) state that a client certificate message "...is only sent if the server requests a certificate." To minimize the opportunity for attacks, an SSL/TLS service should ignore unsolicited client certificate messages.

OpenSSL versions prior to 0.9.7c and 0.9.6k accept unsolicited client certificate messages. This allows an attacker to attempt to exploit several vulnerabilities using specially crafted client certificate messages.

From the OpenSSL advisory:


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.

Vulnerability 1 refers to VU#935264. Vulnerability 2 refers to both VU#255484 and VU#380864. Vulnerability 3 refers to VU#686224.

Impact

Using specially crafted client certificate messages, a remote attacker can attempt to exploit underlying vulnerabilities in SSL/TLS ASN.1 parsing implementations. The impacts of these vulnerabilities (VU#935264, VU#255484, VU#380864, and VU#686224) are denial of service and possible execution of arbitrary code.

Solution

Upgrade or Patch
Upgrade to OpenSSL 0.9.7c or 0.9.6k. Alternatively, upgrade or apply a patch as specified by your vendor. Further information is available in an advisory from OpenSSL. Note that it is necessary to recompile any applications that are statically linked to OpenSSL libraries.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
OpenSSLAffected-30 Sep 2003
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

Credit

Information used in this document came from OpenSSL and NISCC.

This document was written by Art Manion.

Other Information

  • CVE IDs: Unknown
  • CERT Advisory: CA-2003-26
  • Date Public: 04 Sep 2003
  • Date First Published: 30 Sep 2003
  • Date Last Updated: 01 Oct 2003
  • Severity Metric: 2.53
  • Document Revision: 15

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.