Skip to content
DoS Disclosed report Intermediate CVE-2018-0732

Client DoS due to large DH parameter (CVE-2018-0732)

A malicious TLS server could send an extremely large prime number during Diffie-Hellman key agreement, causing the client to spend an unreasonably long time generating a key and hang. This could be exploited for a denial-of-service attack against the client.

guido Follow

Originally disclosed on HackerOne

  • Fixed in 3 months
  • Paid in 3 months
  • Disclosed after 3 months

https://www.openssl.org/news/secadv/20180612.txt

OpenSSL Security Advisory [12 June 2018]
========================================

Client DoS due to large DH parameter (CVE-2018-0732)
====================================================

Severity: Low

During key agreement in a TLS handshake using a DH(E) based ciphersuite a
malicious server can send a very large prime value to the client. This will
cause the client to spend an unreasonably long period of time generating a key
for this prime resulting in a hang until the client has finished. This could be
exploited in a Denial Of Service attack.

Due to the low severity of this issue we are not issuing a new release of
OpenSSL 1.1.0 or 1.0.2 at this time. The fix will be included in OpenSSL 1.1.0i
and OpenSSL 1.0.2p when they become available. The fix is also available in
commit ea7abeeab (for 1.1.0) and commit 3984ef0b7 (for 1.0.2) in the OpenSSL git
repository.

This issue was reported to OpenSSL on 5th June 2018 by Guido Vranken who also
developed the fix.

Impact

Client DoS

The original report as published on HackerOne, by guido. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 server could cause a client to hang for an unreasonably long time, resulting in a denial-of-service attack; the advisory rates severity as Low.

What the attacker needed

Malicious TLS server; client uses DH(E) ciphersuite

The fix

The fix is available in specific commits and will be included in future OpenSSL releases.

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.

When two computers set up a secure connection, they agree on a secret key using a mathematical process called Diffie-Hellman. A malicious server can send an enormous number as part of that process, which makes the client's computer work very hard and get stuck. This means the client cannot finish the connection, which is a denial-of-service attack.

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.

More by guido

View all

49 more disclosed reports, best first.

More from Internet Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.