Has it been Pwned
ImplementationPractical impact

CurveBall: Windows CryptoAPI accepts attacker-chosen curve generators (CVE-2020-0601)

An NSA-reported bug in Windows 10 / Server 2016-2019 crypt32.dll let certificates specify explicit curve parameters, including the generator G, and the trust check compared only the public key to the cached trusted root. An attacker could take a trusted root's public key Q, declare G' = Q with private key 1, and forge certificates that chain to the trusted root, spoofing TLS sites and Authenticode signatures.

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 curve math was untouched. The flaw was that certificate validation trusted attacker-supplied domain parameters (explicit-parameter ECC is allowed by X.509 but almost never needed). It was the first Windows vulnerability publicly credited to NSA, which issued its own advisory the same day Microsoft patched.

Sources

  1. announcementNSA Cybersecurity Advisory: Patch Critical Cryptographic Vulnerability in Microsoft Windows Clients and ServersNSA, media.defense.gov
  2. cveCISA Alert AA20-014A: Critical Vulnerabilities in Microsoft Windows Operating SystemsCISA, cisa.gov
  3. blogCritical Windows Vulnerability Discovered by NSASchneier on Security, schneier.com