Windows CryptoAPI Spoofing Vulnerability (CVE-2022-34689)
A spoofing vulnerability in Windows CryptoAPI allows an attacker to manipulate an existing public x.509 certificate to impersonate the certificate's owner. This could enable authentication or code signing as the targeted certificate.
UK National Cyber Security Centre (NCSC) and the National Security Agency (NSA) Follow
Originally disclosed on Microsoft
FAQ
What is the nature of the spoofing? An attacker could manipulate an existing public x.509 certificate to spoof their identity and perform actions such as authentication or code signing as the targeted certificate.
Windows CryptoAPI
Windows CryptoAPI
Microsoft
Microsoft
Customer Action Required
Yes
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
Root cause
Likely a flaw in how Windows CryptoAPI validates or parses x.509 certificates, allowing an attacker to alter a legitimate certificate without detection.
Impact
An attacker could spoof identity to perform authentication or code signing as the targeted certificate, though the text does not specify affected versions or whether any defence limits the attack.
What the attacker needed
An existing public x.509 certificate
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.
Windows uses digital certificates to prove that software or a website is genuine. This bug lets an attacker take a real certificate and change it so it appears to belong to someone else, letting them pretend to be that trusted party. They could then log in or sign code as if they were the certificate's rightful owner.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.