Windows Setup Elevation of Privilege Vulnerability (CVE-2020-1571)
Windows Setup handled permissions incorrectly while a device was upgrading to a newer Windows 10 version, so a locally authenticated attacker could run arbitrary code with elevated system privileges. The attacker could then install programs, change or delete data, or create accounts with full user rights.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists in Windows Setup in the way it handles permissions. A locally authenticated attacker could run arbitrary code with elevated system privileges. After successfully exploiting the vulnerability, an attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. The security update addresses the vulnerability by ensuring Windows Setup properly handles permissions.
FAQ
There are no security updates listed for the affected versions of Windows. Where does this vulnerability exist? This vulnerability only exists in the Windows 10 Setup, which runs temporarily any time a customer upgrades from a previous version of Windows 10 to a newer version (for example, from Windows 10 Version 1909 to Windows 10 Version 2004). A device is vulnerable only while upgrading to a newer version of Windows. At any other time, the device is not vulnerable. How do I know if I'm protected from this vulnerability? As of this date, all in-support Feature Update bundles have been refreshed with the patched Setup binaries, so this vulnerability no longer exists. If you are using WSUS or MEM ConfigMgr or another third-party management tool, please sync the latest feature update bundles and approve those for deployment. If you are using Windows media, as applicable to your system, please download the latest refreshed media from VLSC or Visual Studio Subscriptions (formerly MSDN), or download the latest applicable Setup Dynamic Update (DU) package and patch your existing media. Following is a list of the latest Setup DU packages: Setup DU Package Applies To 4573897 Windows 10 Version 1803 4565348 Windows 10 Version 1809 4565350 Windows 10 Version 1903 4565350 Windows 10 Version 1909 4566781 Windows 10 Version 2004
Windows Update Stack
Windows Update Stack
Microsoft
Microsoft
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 Setup created or used files and folders during an upgrade without restricting who could modify them, letting a local user place code that Setup then ran with high privileges.
Impact
A locally authenticated attacker could gain system-level rights during an upgrade and then install programs, view, change or delete data, or create new accounts with full user rights; the flaw existed only while a device was upgrading.
What the attacker needed
Local access to the device; an authenticated user account; device is mid-upgrade to a newer Windows 10
The fix
Microsoft refreshed the Feature Update bundles and Setup Dynamic Update packages with patched Setup binaries, and administrators should sync and deploy the latest bundles or patch their installation media.
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.
When you upgrade Windows, a temporary setup program runs with high power to move files and settings. This report says that program did not check permissions properly, so someone already logged in to the machine could use that moment to run their own code as an administrator. The flaw only existed during the upgrade, not at other times.
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.