Skip to content
Access control Advisory Advanced CVE-2020-0981

Windows Token Security Feature Bypass Vulnerability (CVE-2020-0981)

Windows failed to properly handle token relationships, allowing an application at one integrity level to execute code at a different integrity level. An attacker could exploit this to escape a sandbox.

James Forshaw Follow

Originally disclosed on Microsoft

High 6.3 View original

Description

A security feature bypass vulnerability exists when Windows fails to properly handle token relationships. An attacker who successfully exploited the vulnerability could allow an application with a certain integrity level to execute code at a different integrity level, leading to a sandbox escape. The update addresses the vulnerability by correcting how Windows handles token relationships

Microsoft Windows

Microsoft Windows

Issuing CNA

Microsoft

The original report as published on the Microsoft Security Response Center, by James Forshaw of Google Project Zero. 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, Windows did not correctly validate the relationship between security tokens when an application requested execution at a different integrity level.

Impact

An attacker could escape a sandbox by running code at a different integrity level, though the text does not state which levels or whether other defences limit it.

What the attacker needed

Local access to run an application

The fix

The vulnerability was fixed by correcting how Windows handles token relationships.

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.

Windows uses integrity levels to decide how much a program is allowed to do; a low-integrity program is supposed to be contained. This bug meant Windows did not correctly check the relationship between security tokens, so a contained program could run code with higher privileges. That is called a sandbox escape because it breaks out of the restricted environment.

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 James Forshaw

View all

105 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.