Skip to content
Memory corruption Advisory Advanced CVE-2020-1187

Windows State Repository Service Elevation of Privilege Vulnerability (CVE-2020-1187)

The Windows State Repository Service mishandled objects in memory, allowing an attacker who runs a crafted application on the victim's system to execute arbitrary code with elevated privileges. Microsoft fixed the flaw by correcting how the service handles memory objects.

zhiniang peng Follow

Originally disclosed on Microsoft

High 7.8 View original

Description

An elevation of privilege vulnerability exists when the Windows State Repository Service improperly handles objects in memory. An attacker who successfully exploited this vulnerability could run arbitrary code in an elevated context. An attacker could exploit this vulnerability by running a specially crafted application on the victim system. The update addresses the vulnerability by correcting the way the Windows State Repository Service handles objects in memory.

Microsoft Windows

Microsoft Windows

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Zhiniang Peng ( @edwardzpeng ) of Qihoo 360 Core security and Fangming Gu ( @afang5472 ). 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 a memory management error in the Windows State Repository Service that lets a local application corrupt or misuse objects the service handles, leading to code execution in an elevated context.

Impact

An attacker who can run a crafted application locally could execute arbitrary code in an elevated context, potentially taking full control of the affected system.

What the attacker needed

Ability to run a crafted application locally

The fix

The vulnerability was fixed by an update that corrects the way the Windows State Repository Service handles objects in memory.

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.

This is a flaw in a background Windows service that manages app state. Because the service runs with high privileges, a malicious program running on the same computer could trick it into running the attacker's code with those higher rights. The attacker must already be able to run a program on the machine, so this is not something that can be triggered remotely over the internet.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by zhiniang peng

View all

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

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.