Skip to content
Crypto Advisory Advanced CVE-2021-1731

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.

Michael J. Lyons Follow

Originally disclosed on Microsoft

High 5.5 View original

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

The original report as published on the Microsoft Security Response Center, by Michael J. Lyons of the Xbox Console OS team. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.