Skip to content
Access control Write-up Advanced

Privilege Escalation on Windows 8/UEFI Systems

The UEFI runtime service interface exposed by Windows 8 lets a privileged userland process call into platform firmware, and two vulnerabilities in the open source UEFI reference implementation were found in that interface. An attacker with a privileged userland process could potentially escalate from ring 3 to firmware level and gain permanent control of System Management Mode.

mitre.org

Published on mitre.org

August 2014 Topics: Cybersecurity, Computer Security

The author, on mitre.org

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the UEFI runtime service interface exposed to privileged userland processes contained insufficient validation, allowing calls that should not have been possible from ring 3.

Impact

A privileged userland process could potentially escalate to platform firmware level and gain permanent control of System Management Mode.

What the attacker needed

Privileged userland process on Windows 8; UEFI-based system

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 write-up has not been written yet. The Original tab links to the source.

A computer's firmware is the low-level software that starts the machine before the operating system. Windows 8 added a way for programs running with high privileges to talk to that firmware, and mistakes in that channel could let such a program take over the firmware itself, which is very hard to remove. The talk describes two such mistakes found in a public reference version of the firmware code.

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.

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.