Windows COM Elevation of Privilege Vulnerability (CVE-2017-0213)
An elevation of privilege flaw existed in the Windows COM Aggregate Marshaler, allowing a specially crafted application to run code with elevated privileges. The vulnerability alone does not permit arbitrary code execution but can be chained with other flaws to take advantage of the elevated privileges.
Originally disclosed on Microsoft
Description
An elevation of privilege exists in Windows COM Aggregate Marshaler. An attacker who successfully exploited the vulnerability could run arbitrary code with elevated privileges. To exploit the vulnerability, an attacker could run a specially crafted application that could exploit the vulnerability. This vulnerability by itself does not allow arbitrary code to be run. However, this vulnerability could be used in conjunction with one or more vulnerabilities (e.g. a remote code execution vulnerability and another elevation of privilege) that could take advantage of the elevated privileges when running. The update addresses the vulnerability by correcting how Windows COM Marshaler processes interface requests.
Windows COM
Windows COM
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 the Windows COM Aggregate Marshaler did not properly validate or process interface requests, allowing a crafted application to gain elevated privileges.
Impact
An attacker could run arbitrary code with elevated privileges, but only when chained with one or more other vulnerabilities; the flaw by itself does not allow arbitrary code execution.
What the attacker needed
Ability to run a crafted application; chained with another vulnerability
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 a system called COM to let programs talk to each other. A mistake in one part of COM (the Aggregate Marshaler) meant a malicious program could trick Windows into giving it higher permissions than it should have. On its own it does not let an attacker run any code they like, but it can be combined with other bugs to do more damage.
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.