PFX Encryption Security Feature Bypass Vulnerability (CVE-2021-1731)
When exporting a SID-protected PFX file, keys encrypted using AES are not properly protected. An attacker could bypass the intended protection of the private key.
Originally disclosed on Microsoft
FAQ
What kind of security feature could be bypassed by successfully exploiting this vulnerability? When exporting a SID-protected PFX file, keys encrypted using AES are not properly protected. Any SID-protected PFX files using AES for key encryption should be regenerated and exported after this update is installed.
Windows PFX Encryption
Windows PFX Encryption
Microsoft
Microsoft
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 the AES-based encryption of the private key in a SID-protected PFX export does not enforce the intended protection mechanism.
Impact
An attacker could bypass the security feature that protects the private key in a SID-protected PFX file, potentially leading to key compromise.
What the attacker needed
Access to a SID-protected PFX file; file uses AES for key encryption
The fix
The vulnerability was fixed by an update; any SID-protected PFX files using AES for key encryption should be regenerated and exported after installing the update.
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.
A PFX file is a container for a certificate and its private key, often protected by a password or tied to a Windows user account (SID). This flaw means that when AES encryption is used, the protection is weaker than it should be, so someone who gets the file might be able to access the private key without the expected safeguards.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.