Security Advisory Critical Cryptographic Java Vulnerability
Java's Elliptic Curve signature verification accepted a blank signature as valid for any public key. An attacker could bypass authentication without needing the private key.
Ty Mezquita — CyberHoot Follow
Published on systemweakness.com
When submitting a digital signature based on Elliptic Curve Cryptography, you’re supposed to be proving to the recipient that you have access to the private key that corresponds to the public key that they’ll use to verify the signature at your end.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could bypass authentication and impersonate any user or sign code without the private key.
What the attacker needed
Java application using ECDSA; no authentication needed
The fix
Java was updated to versions 17.0.3, 18.0.1, 7u341, 8u331, and 11.0.15 to fix the issue.
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 write-up has not been written yet. The Original tab links to the source.
Digital signatures normally prove you hold a secret private key. This bug meant Java would accept an empty signature as if it were correct, so anyone could pretend to be you without the secret.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.