Downgrade attack explained

A downgrade attack, also called a bidding-down attack,[1] or version rollback attack, is a form of cryptographic attack on a computer system or communications protocol that makes it abandon a high-quality mode of operation (e.g. an encrypted connection) in favor of an older, lower-quality mode of operation (e.g. cleartext) that is typically provided for backward compatibility with older systems.[2] An example of such a flaw was found in OpenSSL that allowed the attacker to negotiate the use of a lower version of TLS between the client and server.[3] This is one of the most common types of downgrade attacks. Opportunistic encryption protocols such as STARTTLS are generally vulnerable to downgrade attacks, as they, by design, fall back to unencrypted communication. Websites which rely on redirects from unencrypted HTTP to encrypted HTTPS can also be vulnerable to downgrade attacks (e.g., sslstrip), as the initial redirect is not protected by encryption.[4]

Attack

Downgrade attacks are often implemented as part of a Man-in-the-middle (MITM) attack, and may be used as a way of enabling a cryptographic attack that might not be possible otherwise.[5] Downgrade attacks have been a consistent problem with the SSL/TLS family of protocols; examples of such attacks include the POODLE attack.

Downgrade attacks in the TLS protocol take many forms.[6] Researchers have classified downgrade attacks with respect to four different vectors, which represents a framework to reason about downgrade attacks as follows:[7]

There are some recent proposals[8] [9] that exploit the concept of prior knowledge to enable TLS clients (e.g. web browsers) to protect sensitive domain names against certain types of downgrade attacks that exploit the clients' support for legacy versions or non-recommended ciphersuites (e.g. those that do not support forward secrecy or authenticated encryption) such as the POODLE, ClientHello fragmentation,[10] [11] and a variant of the DROWN (aka "the special drown") downgrade attacks.

Removing backward compatibility is often the only way to prevent downgrade attacks. However, sometimes the client and server can recognize each other as up-to-date in a manner that prevents them. For example, if a Web server and user agent both implement HTTP Strict Transport Security and the user agent knows this of the server (either by having previously accessed it over HTTPS, or because it is on an "HSTS preload list"[12] [13] [14]), then the user agent will refuse to access the site over vanilla HTTP, even if a malicious router represents it and the server to each other as not being HTTPS-capable.

See also

Notes and References

  1. Web site: Security Implications of 5G Networks . U C Berkeley Center for Long-Term Cybersecurity . 24 November 2021.
  2. Web site: Version rollback attack.
  3. Web site: Man-in-the-Middle TLS Protocol Downgrade Attack. Praetorian. Praetorian. 19 August 2014. en-US. 13 April 2016.
  4. Web site: Mutton . Paul . 2016-03-17 . 95% of HTTPS servers vulnerable to trivial MITM attacks Netcraft . 2023-12-11 . www.netcraft.com . en-US.
  5. Web site: Downgrade attack . 2023-09-05 . encyclopedia.kaspersky.com.
  6. What's in a Downgrade? A Taxonomy of Downgrade Attacks in the TLS Protocol and Application Protocols Using TLS. Alashwali, E. S. and Rasmussen, K.. 2018. 4th Int. Workshop on Applications and Techniques in Cyber Security (ATCS) co-located with 14th Int. Conf. in Security and Privacy in Communication Networks (SecureComm). Springer. 469–487. 1809.05681.
  7. What's in a Downgrade? A Taxonomy of Downgrade Attacks in the TLS Protocol and Application Protocols Using TLS. Alashwali, E. S. and Rasmussen, K.. 2018. 4th Int. Workshop on Applications and Techniques in Cyber Security (ATCS) co-located with 14th Int. Conf. in Security and Privacy in Communication Networks (SecureComm). Springer. 469–487. 1809.05681.
  8. On the Feasibility of Fine-Grained TLS Security Configurations in Web Browsers Based on the Requested Domain Name. Alashwali, E. S. and Rasmussen, K.. 2018. 14th Int. Conf. in Security and Privacy in Communication Networks (SecureComm). Springer. 213–228. 1809.05686.
  9. DSTC: DNS-based Strict TLS Configurations. Alashwali, E. S. and Szalachowski, P.. 2018. 13th Int. Conf. on Risks and Security of Internet and Systems (CRISIS). Springer. 1809.05674.
  10. Web site: ClientHello. ldapwiki. 30 January 2019. 17 March 2020. https://web.archive.org/web/20200317194703/https://ldapwiki.com/wiki/ClientHello. dead.
  11. FLEXTLS A Tool for Testing TLS Implementations. Beurdouche, B., Delignat-Lavaud, A., Kobeissi, N., Pironti, A., Bhargavan, K.. 2015. 9th USENIX Workshop on Offensive Technologies (15. USENIX. 30 January 2019.
  12. Web site: Strict Transport Security. Adam Langley. The Chromium Projects. 8 July 2010. 22 July 2010.
  13. Web site: Preloading HSTS. David Keeler. 1 November 2012. 6 February 2014. Mozilla Security Blog.
  14. Web site: HTTP Strict Transport Security comes to Internet Explorer . 16 February 2015 . Bell, Mike . Walp, David . 16 February 2015.