Malformed SHA512 ticket DoS (CVE-2016-6302)
A server that uses SHA512 for TLS session ticket HMAC processing could be crashed by a malformed ticket, because the malformed input triggers an out-of-bounds read. An attacker could therefore cause a denial of service against such a server.
Originally disclosed on HackerOne
- Fixed in 36 days
- Paid in 36 days
- Disclosed after 37 days
Summary by the program
If a server uses SHA512 for TLS session ticket HMAC it is vulnerable to a DoS attack where a malformed ticket will result in an OOB read which will ultimately crash.
The use of SHA512 in TLS session tickets is comparatively rare as it requires a custom server callback and ticket lookup mechanism.
OpenSSL 1.0.2 users should upgrade to 1.0.2i OpenSSL 1.0.1 users should upgrade to 1.0.1u
This issue was reported to OpenSSL on 19th August 2016 by Shi Lei (Gear Team, Qihoo 360 Inc.). The fix was developed by Stephen Henson of the OpenSSL development team.
The report
If a server uses SHA512 for TLS session ticket HMAC it is vulnerable to a DoS attack where a malformed ticket will result in an OOB read which will ultimately crash.
The use of SHA512 in TLS session tickets is comparatively rare as it requires a custom server callback and ticket lookup mechanism.
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 malformed ticket could crash a server that uses SHA512 for TLS session ticket HMAC, causing a denial of service; the text notes this configuration is comparatively rare.
What the attacker needed
Server uses SHA512 for ticket HMAC; custom ticket callback configured
The fix
The issue was fixed in OpenSSL 1.0.2i and 1.0.1u, so 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.
TLS session tickets let a client resume a connection without a full handshake. If the server uses SHA512 for ticket HMAC and receives a malformed ticket, it reads memory outside the intended buffer and crashes. An attacker can knock the service offline, but only on servers configured in this uncommon way.
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.