Has it been Pwned
ProtocolPractical impactMedium confidence

Lim-Lee small-subgroup key recovery against DL schemes that skip public-key validation

Chae Hoon Lim and Pil Joong Lee (CRYPTO '97) showed that when a discrete-log scheme works in a prime-order subgroup of Z_p* but p-1 also has small factors, an attacker can send group elements of small order instead of valid public keys. Each response leaks the victim's static private key modulo a small prime, and Pohlig-Hellman/CRT reassembles the key.

A separate source-review date has not been recorded for this historical entry. Corrections.

Broken implementation. The underlying math is not broken by this. The failure is in code, hardware, or how the primitive is used.

Background

The attack needs no new mathematics. It combines Pohlig-Hellman with a protocol that reuses a private key and fails to check that received values lie in the intended subgroup (for example by testing y^q = 1 mod p). The standard fixes are to validate public keys, use safe primes so the only small subgroup has order 2, or use fresh ephemeral keys.

The lesson kept being relearned: OpenSSL's CVE-2016-0701 and the 2017 measurement study by Valenta et al. found the same missing check across many libraries and millions of hosts using RFC 5114 and other non-safe primes. It is a usage and validation failure, not a weakness of the discrete log problem.

Sources

  1. paperA key recovery attack on discrete log-based schemes using a prime order subgroup (CRYPTO '97, LNCS 1294)Springer, link.springer.com
  2. paperMeasuring small subgroup attacks against Diffie-Hellman (NDSS 2017), which revisits Lim-Lee in practiceIACR ePrint, eprint.iacr.org