Vulnerability Note VU#888801
SSL/TLS implementations disclose side channel information via PKCS #1 v1.5 version number extension
Overview
SSL/TLS implementations that respond distinctively to an incorrect PKCS #1 v1.5 encoded SSL/TLS version number expose the premaster secret to a modified Bleichenbacher attack. An attacker could decrypt a given SSL/TLS session or forge a signature on behalf of a vulnerable application's private RSA key.
Description
Vlastimil Klíma, Ondřej Pokorný, and Tomáš Rosa have published a research paper describing a modified Bleichenbacher attack against RSA-based SSL/TLS applications. As in Bleichenbacher, the new attack uses side channel information from error messages and seeks to discover the premaster secret that is used as a basis for SSL/TLS session keys. The Bleichenbacher attack (CA-1998-07) is computationally feasible against RSA-based applications that use Public-Key Cryptography Standard (PKCS) #1 v1.5 and return distinctive errors when the premaster secret in the Client hello message is not properly formatted. By sending a large number of chosen ciphertexts (premaster secrets) and monitoring the applications' responses, an attacker can discover the correct premaster secret for a given SSL/TLS session. With the premaster secret for a previously captured SSL/TLS session, the attacker can generate the correct master secret and session keys and decrypt the captured session. For more information about the Bleichenbacher attack, see Chosen Ciphertext Attacks Against Protocols Based on the RSA Encryption Standard PKCS #1, RSA Laboratories Bulletin Number 7, and CERT Advisory CA-1998-07. |
Impact
An attacker who is able to capture an encrypted SSL/TLS session and query the server while it is using the same private RSA key that was used for the captured session could decrypt the captured session. An attacker could also forge a signature that appeared to be from the server (section 3.4). |
Solution
Upgrade or Patch
|
Manage private keys
|
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| Apple Computer Inc. | Affected | 18 Apr 2003 | 22 Apr 2003 |
| Conectiva | Affected | 18 Apr 2003 | 22 Apr 2003 |
| Debian | Affected | 18 Apr 2003 | 22 Apr 2003 |
| eSoft | Affected | 18 Apr 2003 | 02 Jun 2003 |
| F5 Networks | Affected | 18 Apr 2003 | 18 Apr 2003 |
| FreeBSD | Affected | 18 Apr 2003 | 22 Apr 2003 |
| Gentoo Linux | Affected | - | 22 Apr 2003 |
| GNU TLS | Affected | 15 Apr 2003 | 22 Apr 2003 |
| Guardian Digital Inc. | Affected | 18 Apr 2003 | 22 Apr 2003 |
| Hewlett-Packard Company | Affected | 18 Apr 2003 | 29 Apr 2003 |
| IBM | Affected | 18 Apr 2003 | 17 Jun 2003 |
| Ingrian Networks | Affected | 18 Apr 2003 | 22 Apr 2003 |
| Mirapoint | Affected | 18 Apr 2003 | 22 Apr 2003 |
| mod_ssl | Affected | 18 Apr 2003 | 22 Apr 2003 |
| NetBSD | Affected | 18 Apr 2003 | 21 Apr 2003 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- CA-1998-07:
- VU#997481:
- http://eprint.iacr.org/2003/052/
- http://www.i.cz/en/onas/tisk7.html
- http://www.i.cz/en/onas/tisk8.html
- http://www.openssl.org/news/secadv_20030319.txt
- http://www.ietf.org/rfc/rfc2246.txt
- http://link.springer.de/link/service/series/0558/papers/1462/14620001.pdf
- http://www.rsasecurity.com/rsalabs/pkcs1/qa.html
- ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-1/pkcs-1v2-1.pdf
- ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-1v2.asc
- ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-1.asc
- ftp://ftp.rsasecurity.com/pub/pdfs/bulletn7.pdf
- http://www.ietf.org/rfc/rfc2408.txt
- http://www.ietf.org/rfc/rfc2409.txt
Credit
This vulnerability was researched and documented by Vlastimil Klíma, Ondřej Pokorný, and Tomáš Rosa.
This document was written by Art Manion.
Other Information
- CVE IDs: CAN-2003-0131
- Date Public: 19 Mar 2003
- Date First Published: 22 Apr 2003
- Date Last Updated: 25 Aug 2004
- Severity Metric: 4.05
- Document Revision: 49
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.