Skip to content
Access control Advisory Advanced CVE-2017-8642

Microsoft Edge Elevation of Privilege Vulnerability (CVE-2017-8642)

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

Jun Kokatsu Follow

Originally disclosed on Microsoft

High 6.1 View original

Description

An elevation of privilege vulnerability exists when Microsoft Edge does not properly validate JavaScript under specific conditions, potentially allowing script to run with elevated privileges. In a web-based attack scenario, an attacker could host a website in an attempt to exploit the 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 a user to view the attacker-controlled content. Instead, an attacker would have to convince a user to take action. For example, an attacker could trick a user into clicking a link that takes the user 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). The security update addresses the vulnerability by correcting how Microsoft Edge validates and sanitizes JavaScript parameters.

Microsoft Edge

Microsoft Edge

The original report as published on the Microsoft Security Response Center, by Jun Kokatsu ( @shhnjk ). 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 insufficient validation and sanitisation of JavaScript parameters in Microsoft Edge, allowing script to run with elevated privileges.

Impact

An attacker could elevate privileges in Edge and, combined with another vulnerability, run arbitrary code with the permissions of the current user; the attacker cannot force a victim to view the crafted content.

What the attacker needed

Victim clicks a link to attacker site; another vulnerability to gain code execution

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.

A web browser runs code from websites in a restricted sandbox so a bad site cannot take over the computer. Here the browser checked some JavaScript in the wrong way, so a malicious page could gain more power than it should. The attacker still needs the victim to open a link, and on its own this only raises privileges, which is useful when paired with a second bug.

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 by Jun Kokatsu

View all

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

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.