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.
Originally disclosed on Microsoft
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
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.