Skip to content
Access control Advisory Advanced CVE-2017-8493

Windows Security Feature Bypass Vulnerability (CVE-2017-8493)

Windows failed to enforce case sensitivity when checking certain UEFI variables, allowing an attacker to set variables that should be read-only or require authentication. An attacker could run a specially crafted application to bypass UEFI variable security.

nicolas joly Follow

Originally disclosed on Microsoft

High 5.6 View original

Description

A security feature bypass vulnerability exists when Microsoft Windows fails to enforce case sensitivity for certain variable checks, which could allow an attacker to set variables that are either read-only or require authentication. To exploit this vulnerability, an attacker could run a specially crafted application to bypass Unified Extensible Firmware Interface (UEFI) variable security in Windows. The security update addresses the vulnerability by correcting security feature behavior to enforce case sensitivity for certain variable checks.

Microsoft Windows

Microsoft Windows

The original report as published on the Microsoft Security Response Center, by Nicolas Joly of MSRCE UK. 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 variable name comparison was case-insensitive, so a differently-cased name bypassed the read-only or authentication check.

Impact

An attacker could run a specially crafted application to bypass UEFI variable security in Windows.

What the attacker needed

Ability to run a crafted application on Windows

The fix

The security update corrects the behaviour so that case sensitivity is enforced for the affected variable checks.

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.

UEFI is the modern firmware that starts your computer before Windows loads. It stores settings as variables, and some are protected so only authorised software can change them. This bug meant Windows checked the names of those variables without caring about upper or lower case, so an attacker could sneak past the protection and change settings they should not be able to.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by nicolas joly

View all

3 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.