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

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

The Windows State Repository Service mishandled objects in memory, allowing an attacker who runs a specially crafted application on the victim system to execute arbitrary code with elevated privileges. The update corrects how the service handles objects in memory.

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-safety error in how the Windows State Repository Service handles objects in memory.

Impact

An attacker could run arbitrary code in an elevated context, but only after running a specially crafted application on the victim system.

What the attacker needed

Ability to run a crafted application on the target

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 Windows background service that manages system state. Because the service did not handle memory safely, a program running on the computer could trick it into running the attacker's code with higher permissions than the attacker should have. The attacker must already be able to run a program on the machine.

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.