1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
|
<pre>Internet Engineering Task Force (IETF) R. Barnes
Request for Comments: 7568 M. Thomson
Updates: <a href="./rfc5246">5246</a> Mozilla
Category: Standards Track A. Pironti
ISSN: 2070-1721 INRIA
A. Langley
Google
June 2015
<span class="h1">Deprecating Secure Sockets Layer Version 3.0</span>
Abstract
The Secure Sockets Layer version 3.0 (SSLv3), as specified in <a href="./rfc6101">RFC</a>
<a href="./rfc6101">6101</a>, is not sufficiently secure. This document requires that SSLv3
not be used. The replacement versions, in particular, Transport
Layer Security (TLS) 1.2 (<a href="./rfc5246">RFC 5246</a>), are considerably more secure and
capable protocols.
This document updates the backward compatibility section of <a href="./rfc5246">RFC 5246</a>
and its predecessors to prohibit fallback to SSLv3.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7568">http://www.rfc-editor.org/info/rfc7568</a>.
<span class="grey">Barnes, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7568">RFC 7568</a> SSLv3 Is Not Secure June 2015</span>
Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2">2</a>. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. Do Not Use SSL Version 3.0 . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4">4</a>. SSLv3 Is Comprehensively Broken . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4.1">4.1</a>. Record Layer . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4.2">4.2</a>. Key Exchange . . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-4.3">4.3</a>. Custom Cryptographic Primitives . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-5">5</a>. Limited Capabilities . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-6">6</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-7">7</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-7.1">7.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-7.2">7.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Since it was released in 1996, the SSLv3 protocol [<a href="./rfc6101" title=""The Secure Sockets Layer (SSL) Protocol Version 3.0"">RFC6101</a>] has been
subject to a long series of attacks, both on its key exchange
mechanism and on the encryption schemes it supports. Despite being
replaced by TLS 1.0 [<a href="./rfc2246" title=""The TLS Protocol Version 1.0"">RFC2246</a>] in 1999, and subsequently TLS 1.1 in
2002 [<a href="./rfc4346" title=""The Transport Layer Security (TLS) Protocol Version 1.1"">RFC4346</a>] and 1.2 in 2006 [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>], availability of these
replacement versions has not been universal. As a result, many
implementations of TLS have permitted the negotiation of SSLv3.
The predecessor of SSLv3, SSL version 2, is no longer considered
sufficiently secure [<a href="./rfc6176" title=""Prohibiting Secure Sockets Layer (SSL) Version 2.0"">RFC6176</a>]. SSLv3 now follows.
<span class="grey">Barnes, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7568">RFC 7568</a> SSLv3 Is Not Secure June 2015</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Terminology</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Do Not Use SSL Version 3.0</span>
SSLv3 MUST NOT be used. Negotiation of SSLv3 from any version of TLS
MUST NOT be permitted.
Any version of TLS is more secure than SSLv3, though the highest
version available is preferable.
Pragmatically, clients MUST NOT send a ClientHello with
ClientHello.client_version set to {03,00}. Similarly, servers MUST
NOT send a ServerHello with ServerHello.server_version set to
{03,00}. Any party receiving a Hello message with the protocol
version set to {03,00} MUST respond with a "protocol_version" alert
message and close the connection.
Historically, TLS specifications were not clear on what the record
layer version number (TLSPlaintext.version) could contain when
sending ClientHello. <a href="./rfc5246#appendix-E">Appendix E of [RFC5246]</a> notes that
TLSPlaintext.version could be selected to maximize interoperability,
though no definitive value is identified as ideal. That guidance is
still applicable; therefore, TLS servers MUST accept any value
{03,XX} (including {03,00}) as the record layer version number for
ClientHello, but they MUST NOT negotiate SSLv3.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. SSLv3 Is Comprehensively Broken</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Record Layer</span>
The non-deterministic padding used in the Cipher Block Chaining (CBC)
construction of SSLv3 trivially permits the recovery of plaintext
[<a href="#ref-POODLE" title=""This POODLE bites: exploiting the SSL 3.0 fallback"">POODLE</a>]. More generally, the CBC modes of SSLv3 use a flawed MAC-
then-encrypt construction that has subsequently been replaced in TLS
versions [<a href="./rfc7366" title=""Encrypt-then-MAC for Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)"">RFC7366</a>]. Unfortunately, the mechanism to correct this
flaw relies on extensions: a feature added in TLS 1.0. SSLv3 cannot
be updated to correct this flaw in the same way.
The flaws in the CBC modes in SSLv3 are mirrored by the weakness of
the stream ciphers it defines. Of those defined, only RC4 is
currently in widespread use. RC4, however, exhibits serious biases
and is also no longer fit for use [<a href="./rfc7465" title=""Prohibiting RC4 Cipher Suites"">RFC7465</a>].
This leaves SSLv3 with no suitable record protection mechanism.
<span class="grey">Barnes, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7568">RFC 7568</a> SSLv3 Is Not Secure June 2015</span>
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Key Exchange</span>
The SSLv3 key exchange is vulnerable to man-in-the-middle attacks
when renegotiation [<a href="./rfc5746" title=""Transport Layer Security (TLS) Renegotiation Indication Extension"">RFC5746</a>] or session resumption [<a href="#ref-TRIPLE-HS" title=""Triple Handshakes and Cookie Cutters: Breaking and Fixing Authentication over TLS"">TRIPLE-HS</a>] are
used. Each flaw has been fixed in TLS by means of extensions.
Again, SSLv3 cannot be updated to correct these flaws.
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Custom Cryptographic Primitives</span>
SSLv3 defines custom constructions for Pseudorandom Function (PRF),
Hashed Message Authentication Code (HMAC), and digital signature
primitives. Such constructions lack the deep cryptographic scrutiny
that standard constructions used by TLS have received. Furthermore,
all SSLv3 primitives rely on SHA-1 [<a href="./rfc3174" title=""US Secure Hash Algorithm 1 (SHA1)"">RFC3174</a>] and MD5 [<a href="./rfc1321" title=""The MD5 Message-Digest Algorithm"">RFC1321</a>]: these
hash algorithms are considered weak and are being systematically
replaced with stronger hash functions, such as SHA-256 [<a href="#ref-FIPS180-4" title=""Secure Hash Standard"">FIPS180-4</a>].
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Limited Capabilities</span>
SSLv3 is unable to take advantage of the many features that have been
added to recent TLS versions. This includes the features that are
enabled by ClientHello extensions, which SSLv3 does not support.
Though SSLv3 can benefit from new cipher suites, it cannot benefit
from new cryptographic modes and features. Of these, the following
are particularly prominent:
o Authenticated Encryption with Additional Data (AEAD) modes are
added in [<a href="./rfc5246" title=""The Transport Layer Security (TLS) Protocol Version 1.2"">RFC5246</a>].
o Elliptic Curve Diffie-Hellman (ECDH) and Digital Signature
Algorithm (ECDSA) are added in [<a href="./rfc4492" title=""Elliptic Curve Cryptography (ECC) Cipher Suites for Transport Layer Security (TLS)"">RFC4492</a>].
o Stateless session tickets [<a href="./rfc5077" title=""Transport Layer Security (TLS) Session Resumption without Server-Side State"">RFC5077</a>].
o A datagram mode of operation, DTLS [<a href="./rfc6347" title=""Datagram Transport Layer Security Version 1.2"">RFC6347</a>].
o Application-layer protocol negotiation [<a href="./rfc7301" title=""Transport Layer Security (TLS) Application-Layer Protocol Negotiation Extension"">RFC7301</a>].
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
This entire document aims to improve security by prohibiting the use
of a protocol that is not secure.
<span class="grey">Barnes, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7568">RFC 7568</a> SSLv3 Is Not Secure June 2015</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. References</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC2246">RFC2246</a>] Dierks, T. and C. Allen, "The TLS Protocol Version 1.0",
<a href="./rfc2246">RFC 2246</a>, DOI 10.17487/RFC2246, January 1999,
<<a href="http://www.rfc-editor.org/info/rfc2246">http://www.rfc-editor.org/info/rfc2246</a>>.
[<a id="ref-RFC4346">RFC4346</a>] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.1", <a href="./rfc4346">RFC 4346</a>,
DOI 10.17487/RFC4346, April 2006,
<<a href="http://www.rfc-editor.org/info/rfc4346">http://www.rfc-editor.org/info/rfc4346</a>>.
[<a id="ref-RFC5246">RFC5246</a>] Dierks, T. and E. Rescorla, "The Transport Layer Security
(TLS) Protocol Version 1.2", <a href="./rfc5246">RFC 5246</a>,
DOI 10.17487/RFC5246, August 2008,
<<a href="http://www.rfc-editor.org/info/rfc5246">http://www.rfc-editor.org/info/rfc5246</a>>.
[<a id="ref-RFC6101">RFC6101</a>] Freier, A., Karlton, P., and P. Kocher, "The Secure
Sockets Layer (SSL) Protocol Version 3.0", <a href="./rfc6101">RFC 6101</a>,
DOI 10.17487/RFC6101, August 2011,
<<a href="http://www.rfc-editor.org/info/rfc6101">http://www.rfc-editor.org/info/rfc6101</a>>.
[<a id="ref-RFC7366">RFC7366</a>] Gutmann, P., "Encrypt-then-MAC for Transport Layer
Security (TLS) and Datagram Transport Layer Security
(DTLS)", <a href="./rfc7366">RFC 7366</a>, DOI 10.17487/RFC7366, September 2014,
<<a href="http://www.rfc-editor.org/info/rfc7366">http://www.rfc-editor.org/info/rfc7366</a>>.
[<a id="ref-RFC7465">RFC7465</a>] Popov, A., "Prohibiting RC4 Cipher Suites", <a href="./rfc7465">RFC 7465</a>,
DOI 10.17487/RFC7465, February 2015,
<<a href="http://www.rfc-editor.org/info/rfc7465">http://www.rfc-editor.org/info/rfc7465</a>>.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Informative References</span>
[<a id="ref-FIPS180-4">FIPS180-4</a>] U.S. National Institute of Standards and Technology,
"Secure Hash Standard", FIPS 180-4, March 2012.
[<a id="ref-POODLE">POODLE</a>] Moeller, B., "This POODLE bites: exploiting the SSL 3.0
fallback", October 2014,
<<a href="http://googleonlinesecurity.blogspot.com/2014/10/this-poodle-bites-exploiting-ssl-30.html">http://googleonlinesecurity.blogspot.com/2014/10/</a>
<a href="http://googleonlinesecurity.blogspot.com/2014/10/this-poodle-bites-exploiting-ssl-30.html">this-poodle-bites-exploiting-ssl-30.html</a>>.
<span class="grey">Barnes, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7568">RFC 7568</a> SSLv3 Is Not Secure June 2015</span>
[<a id="ref-RFC1321">RFC1321</a>] Rivest, R., "The MD5 Message-Digest Algorithm", <a href="./rfc1321">RFC 1321</a>,
DOI 10.17487/RFC1321, April 1992,
<<a href="http://www.rfc-editor.org/info/rfc1321">http://www.rfc-editor.org/info/rfc1321</a>>.
[<a id="ref-RFC3174">RFC3174</a>] Eastlake 3rd, D. and P. Jones, "US Secure Hash Algorithm
1 (SHA1)", <a href="./rfc3174">RFC 3174</a>, DOI 10.17487/RFC3174, September
2001, <<a href="http://www.rfc-editor.org/info/rfc3174">http://www.rfc-editor.org/info/rfc3174</a>>.
[<a id="ref-RFC4492">RFC4492</a>] Blake-Wilson, S., Bolyard, N., Gupta, V., Hawk, C., and
B. Moeller, "Elliptic Curve Cryptography (ECC) Cipher
Suites for Transport Layer Security (TLS)", <a href="./rfc4492">RFC 4492</a>, DOI
10.17487/RFC4492, May 2006,
<<a href="http://www.rfc-editor.org/info/rfc4492">http://www.rfc-editor.org/info/rfc4492</a>>.
[<a id="ref-RFC5077">RFC5077</a>] Salowey, J., Zhou, H., Eronen, P., and H. Tschofenig,
"Transport Layer Security (TLS) Session Resumption
without Server-Side State", <a href="./rfc5077">RFC 5077</a>,
DOI 10.17487/RFC5077, January 2008,
<<a href="http://www.rfc-editor.org/info/rfc5077">http://www.rfc-editor.org/info/rfc5077</a>>.
[<a id="ref-RFC5746">RFC5746</a>] Rescorla, E., Ray, M., Dispensa, S., and N. Oskov,
"Transport Layer Security (TLS) Renegotiation Indication
Extension", <a href="./rfc5746">RFC 5746</a>, DOI 10.17487/RFC5746, February
2010, <<a href="http://www.rfc-editor.org/info/rfc5746">http://www.rfc-editor.org/info/rfc5746</a>>.
[<a id="ref-RFC6176">RFC6176</a>] Turner, S. and T. Polk, "Prohibiting Secure Sockets Layer
(SSL) Version 2.0", <a href="./rfc6176">RFC 6176</a>, DOI 10.17487/RFC6176, March
2011, <<a href="http://www.rfc-editor.org/info/rfc6176">http://www.rfc-editor.org/info/rfc6176</a>>.
[<a id="ref-RFC6347">RFC6347</a>] Rescorla, E. and N. Modadugu, "Datagram Transport Layer
Security Version 1.2", <a href="./rfc6347">RFC 6347</a>, DOI 10.17487/RFC6347,
January 2012, <<a href="http://www.rfc-editor.org/info/rfc6347">http://www.rfc-editor.org/info/rfc6347</a>>.
[<a id="ref-RFC7301">RFC7301</a>] Friedl, S., Popov, A., Langley, A., and E. Stephan,
"Transport Layer Security (TLS) Application-Layer
Protocol Negotiation Extension", <a href="./rfc7301">RFC 7301</a>,
DOI 10.17487/RFC7301, July 2014,
<<a href="http://www.rfc-editor.org/info/rfc7301">http://www.rfc-editor.org/info/rfc7301</a>>.
[<a id="ref-TRIPLE-HS">TRIPLE-HS</a>] Bhargavan, K., Delignat-Lavaud, A., Fournet, C., Pironti,
A., and P-Y. Strub, "Triple Handshakes and Cookie
Cutters: Breaking and Fixing Authentication over TLS",
IEEE Symposium on Security and Privacy, 2014.
<span class="grey">Barnes, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7568">RFC 7568</a> SSLv3 Is Not Secure June 2015</span>
Authors' Addresses
Richard Barnes
Mozilla
EMail: rlb@ipv.sx
Martin Thomson
Mozilla
EMail: martin.thomson@gmail.com
Alfredo Pironti
INRIA
EMail: alfredo@pironti.eu
Adam Langley
Google
EMail: agl@google.com
Barnes, et al. Standards Track [Page 7]
</pre>
|