Scripting Engine Memory Corruption Vulnerability (CVE-2017-0240)
The scripting engine in Microsoft Edge mishandled objects in memory, allowing memory corruption. An attacker could run arbitrary code with the victim's rights by getting them to open a crafted web page.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in the way that the scripting engine handles objects in memory in Microsoft Edge (HTML-based). The vulnerability could corrupt memory in such a way that an attacker could execute arbitrary code in the context of the current user. An attacker who successfully exploited the vulnerability could gain the same user rights as the current user. If the current user is logged on with administrative user rights, an attacker who successfully exploited the vulnerability could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. In a web-based attack scenario, an attacker could host a specially crafted website that is designed to exploit the vulnerability through Microsoft Edge (HTML-based) and then convince a user to view the website. The attacker could also take advantage of compromised websites and websites that accept or host user-provided content or advertisements. These websites could contain specially crafted content that could exploit the vulnerability. The security update addresses the vulnerability by modifying how the scripting engine handles objects in memory.
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 a memory-safety flaw in how the Edge scripting engine handled objects in memory, such as a use-after-free or type confusion.
Impact
An attacker could execute arbitrary code with the current user's rights, and with administrative rights could take control of the system; the text does not say whether mitigations such as sandboxing limited this.
What the attacker needed
Victim uses Microsoft Edge; victim visits a crafted or compromised page
The fix
It was fixed by a security update that changed how the scripting engine handles objects in memory.
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 contains a scripting engine that runs JavaScript and similar code on web pages. Here a mistake in how that engine managed memory could let a malicious page take over the browser and run the attacker's own code as the logged-in user. The victim only has to visit a booby-trapped page.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.