Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Severe OpenSSL Flaw Exposes TLS Traffic

It took the developers of OpenSSL just over two weeks to patch a high severity vulnerability that allows attackers to obtain information that could be used to decrypt secure traffic.

It took the developers of OpenSSL just over two weeks to patch a high severity vulnerability that allows attackers to obtain information that could be used to decrypt secure traffic.

The flaw, identified as CVE-2016-0701, was reported on January 12 by Antonio Sanso of Adobe and it was patched by the OpenSSL Project on Thursday with the release of version 1.0.2f. The researcher’s attack is based on a key recovery method described in a paper published in 1997.

Starting with OpenSSL 1.0.2, developers introduced support for generating X9.42 style parameter files as required in RFC 5114. The problem is that the primes in these files may not be “safe,” which in certain circumstances could allow an attacker to obtain the key needed to decrypt traffic.

In the case of applications using the Diffie-Hellman (DH) key exchange, such as TLS, if they are configured with parameters based on unsafe primes, an attacker could obtain enough information to recover the private DH exponent.

For an attack to work, the attacker must complete multiple handshakes with the target, which must use the same private DH exponent each time. In the case of a TLS server, an attacker could obtain its private key and decrypt traffic if the server is reusing the private DH exponent or is using a static DH ciphersuite.

OpenSSL has an option for using short-lived DH exponents in TLS, namely SSL_OP_SINGLE_DH_USE, but it’s not enabled by default. If the option is not enabled, the server uses the same private key until the server process is terminated, which exposes it to attacks.

“It is believed that many popular applications do set this option and would therefore not be at risk,” the OpenSSL Project said in its advisory.

According to Sanso, the developers of LibreSSL deprecated the use of SSL_OP_SINGLE_DH_USE this week, while Google’s BoringSSL removed support for the option months ago. The researcher says it’s unclear if these crypto libraries are affected when using a static DH ciphersuite.

The OpenSSL Project addressed the issue by adding a check to detect attacks in the case of static ciphersuites and by enabling the SSL_OP_SINGLE_DH_USE option by default, but developers have warned that both solutions could have an impact on performance.

OpenSSL 1.0.1r was also released on Thursday. This version patches a low severity SSLv2 cipher issue (CVE-2015-3197) and provides an update for the previous fix for the TLS vulnerability dubbed “Logjam.” These flaws also affect OpenSSL 1.0.2 so they have also been patched in version 1.0.2f.

The OpenSSL Project has once again reminded users that versions 0.9.8 and 1.0.0 are no longer supported since December 31, 2015, and they don’t receive security updates. Support for version 1.0.1 will end on December 31, 2016.

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Expert Insights

Related Content

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Email Security

Microsoft is urging customers to install the latest Exchange Server updates and harden their environments to prevent malicious attacks.

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.

Vulnerabilities

Security researchers have observed an uptick in attacks targeting CVE-2021-35394, an RCE vulnerability in Realtek Jungle SDK.

Vulnerabilities

Google has awarded more than $25,000 to the researchers who reported the vulnerabilities patched with the release of the latest Chrome update.

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.