Skip to content
Access control Advisory Advanced CVE-2016-0161

Microsoft Edge Elevation of Privilege Vulnerability (CVE-2016-0161)

Microsoft Edge did not properly validate JavaScript under specific conditions, so a script could run with elevated privileges. An attacker who convinced a user to visit a crafted page could raise privileges to the current user's level, which could then be combined with another vulnerability to run arbitrary code at medium integrity.

QianWen Xiang Follow

Originally disclosed on Microsoft

Description

An elevation of privilege vulnerability exists when Microsoft Edge does not properly validate JavaScript under specific conditions, potentially allowing a script to be run with elevated privileges. In a web-based attack scenario, an attacker could host a website in an attempt to exploit this vulnerability. In addition, compromised websites and websites that accept or host user-provided content could contain specially crafted content that could exploit the vulnerability. However, in all cases, an attacker would have no way to force users to view the attacker-controlled content. Instead, an attacker would have to convince users to take action. For example, an attacker could trick users into clicking a link that takes them to the attacker's site. An attacker who successfully exploited the vulnerability could elevate privileges in affected versions of Microsoft Edge. An attacker could then leverage these privileges with another vulnerability to run arbitrary code with medium-integrity-level privileges (permissions of the current user). This vulnerability by itself does not allow arbitrary code to be run. However, this vulnerability could be used in conjunction with another vulnerability (e.g., a remote code execution vulnerability) that could take advantage of the elevated privileges when running arbitrary code. For example, an attacker could exploit another vulnerability to run arbitrary code through Microsoft Edge, but because of the context in which processes are launched by Internet Explorer, the code might be restricted to run at a low-integrity level (very limited permissions). However, an attacker could, in turn, exploit this vulnerability to cause the arbitrary code to run at a medium-integrity level (permissions of the current user). The update addresses the vulnerability by adding additional permission validations to Microsoft Edge.

Microsoft Edge

Microsoft Edge

The original report as published on the Microsoft Security Response Center, by QianWen Xiang of Tencent QQBrowser. 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, Edge failed to apply sufficient permission checks when handling JavaScript in certain conditions, letting a script gain higher integrity than intended.

Impact

On its own the flaw does not allow arbitrary code execution, but it could be chained with another vulnerability so that code runs at medium integrity, the current user's permissions.

What the attacker needed

Victim uses affected Microsoft Edge; victim clicks a link to attacker site

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.

Programs on Windows run at different permission levels, called integrity levels. A low level means very limited rights, while medium matches a normal logged-in user. This bug let a web page's script move from the low level up to the user's normal level, but on its own it could not run harmful code; it only made another bug more dangerous.

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