Skip to content
Crypto Advisory Advanced CVE-2017-0248

.NET Security Feature Bypass Vulnerability (CVE-2017-0248)

A security feature bypass vulnerability exists when Microsoft .NET Framework (and .NET Core) components do not completely validate certificates. An attacker could present a certificate that is marked invalid for a specific use, but the component uses it for that purpose, disregarding the Enhanced Key Usage taggings.

Joonwoo Yu Follow

Originally disclosed on Microsoft

Description

A security feature bypass vulnerability exists when Microsoft .NET Framework (and .NET Core) components do not completely validate certificates. An attacker could present a certificate that is marked invalid for a specific use, but the component uses it for that purpose. This action disregards the Enhanced Key Usage taggings. The security update addresses the vulnerability by helping to ensure that .NET Framework (and .NET Core) components completely validate certificates.

FAQ

How do I determine which version of Microsoft .NET Framework is installed on my system? You can install and run multiple versions of .NET Framework on a system, and you can install the versions in any order. For more information, see Microsoft Knowledge Base Article 318785 . How do I locate the updates for the versions of .NET Framework installed on my system? The download links in the Affected Products table are to the Parent KB number in the Microsoft Update Catalog. To locate the packages you need to download, in the Microsoft Update Catalog, click Download for the platform you have installed on your system. In the Download window, click to download each update that is applicable to your system. Customers who have updates automatically installed will be offered the Parent KB; however, the package KB numbers listed for each platform will be displayed in Add Remove Programs. The following table lists the Parent KB numbers for the Monthly Rollup Releases and the Security Only Releases, and the package KB numbers they contain. For more information about Microsoft's update servicing model for Microsoft .NET Framework, see this Microsoft .NET Blog Post . Monthly Rollup Release Security Only Release Platform Parent KB Child KBs Parent KB Child KBs Windows Server 2008 4019115 4014502 - .NET Framework 2.0 4019109 4014575 - .NET Framework 2.0 4014514 - .NET Framework 4.5.2 4014599 - .NET Framework 4.5.2 4014511 - .NET Framework 4.6 4014591- .NET Framework 4.6 Windows 7 4019112 4014504 - .NET Framework 3.5.1 4019108 4014579 - .NET Framework 3.5.1 Windows Server 2008 R2 4014514 - .NET Framework 4.5.2 4014599 - .NET Framework 4.5.2 4014511 - .NET Framework 4.6/4.6.1 4014591 - .NET Framework 4.6/4.6.1 4014508 - .NET Framework 4.6.2 4014588 - .NET Framework 4.6.2 Windows Server 2012 4019113 4014503 - .NET Framework 3.5 4019110 4014577 - .NET Framework 3.5 4014513 - .NET Framework 4.5.2 4014597 - .NET Framework 4.5.2 4014509 - .NET Framework 4.6/4.6.1 4014589 - .NET Framework 4.6/4.6.1 4014506 - .NET Framework 4.6.2 4014586 - .NET Framework 4.6.2 Windows 8.1 4019114 4014505 - .NET Framework 3.5 4019111 4014581 - .NET Framework 3.5 Windows Server 2012 R2 4014512 - .NET Framework 4.5.2 4014595 - .NET Framework 4.5.2 4014510 - .NET Framework 4.6/4.6.1 4014590 - .NET Framework 4.6/4.6.1 4014507 - .NET Framework 4.6.2 4014587 - .NET Framework 4.6.2 Windows 10 Platforms Parent KB .NET Framework Product Windows 10 4019474 .NET Framework 3.5 None .NET Framework 4.6 Windows 10 Version 1511 4019473 .NET Framework 3.5 None .NET Framework 4.6.1 Windows 10 Version 1607 4019472 .NET Framework 3.5 None .NET Framework 4.6.2 Windows Server 2016 4019472 .NET Framework 3.5 None .NET Framework 4.6.2 Windows 10 Version 1703 4019471 .NET Framework 4.7 None

.NET Framework

.NET Framework

The original report as published on the Microsoft Security Response Center, by Joonwoo Yu, Hyoung-Kee Choi of Sungkyunkwan University. 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 .NET certificate validation logic did not enforce the Enhanced Key Usage extension, allowing certificates to be used for purposes they were not intended for.

What the attacker needed

Attacker can present a certificate

The fix

The security update addresses the vulnerability by helping to ensure that .NET Framework (and .NET Core) components completely validate certificates.

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.

Certificates often have a field that says what they can be used for, such as signing code or securing a website. This bug meant that .NET sometimes ignored that field and accepted a certificate for a purpose it was not meant for. An attacker could then use a certificate that should have been rejected.

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.