SSL_peek() hang on empty record (CVE-2016-6305)
OpenSSL 1.1.0 would hang in SSL_peek() when a peer sent an empty record, allowing a malicious peer to cause a denial of service. The issue was fixed in 1.1.0a.
Originally disclosed on HackerOne
- Triaged in 31 days
- Fixed in 32 days
- Paid in 32 days
- Disclosed after 2 months
Summary by the program
OpenSSL 1.1.0 SSL/TLS will hang during a call to SSL_peek() if the peer sends an empty record. This could be exploited by a malicious peer in a Denial Of Service attack.
OpenSSL 1.1.0 users should upgrade to 1.1.0a
This issue was reported to OpenSSL on 10th September 2016 by Alex Gaynor. The fix was developed by Matt Caswell of the OpenSSL development team.
The report
As described here: https://www.openssl.org/news/secadv/20160922.txt
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
A malicious peer could cause a denial of service by making the application hang.
What the attacker needed
Malicious peer able to send TLS records
The fix
The issue was fixed in OpenSSL 1.1.0a; users should upgrade.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
OpenSSL is a widely used library that handles encrypted connections. A function called SSL_peek() is used to look at incoming data without removing it. If someone sent a specially crafted empty message, the program could get stuck waiting forever, which is a denial of service.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.