Vulnerabilities Affecting Girault, Bulletproofs, and PlonK
Insecure implementations of the Fiat-Shamir transformation in several zero-knowledge proof systems allow a malicious prover to forge proofs for false statements. This breaks the soundness of the affected proof systems.
blog.trailofbits.com
Published on blog.trailofbits.com
Trail of Bits is publicly disclosing critical vulnerabilities that break the soundness of multiple implementations of zero-knowledge proof systems, including PlonK and Bulletproofs. These vulnerabilities are caused by insecure implementations of the Fiat-Shamir transformation that allow malicious users to forge proofs…
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
Root cause
The Fiat-Shamir hash computation omits some public values (such as the statement or commitment), allowing the challenge to be predicted and proofs to be forged.
Impact
An attacker could forge zero-knowledge proofs for false statements, breaking the soundness of the proof system; the impact depends on how the application uses the proofs.
What the attacker needed
Access to a vulnerable proof system implementation
The fix
The Fiat-Shamir hash must include all public values from the proof statement and all commitments; affected implementations were patched.
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.
Zero-knowledge proofs let someone prove they know a secret without revealing it. The Fiat-Shamir transformation makes these proofs non-interactive by replacing a random challenge from the verifier with a hash of public values. If the hash does not include all necessary public values, an attacker can predict the challenge and create fake proofs.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.