Scripting Engine Memory Corruption Vulnerability (CVE-2017-8634)
A memory corruption flaw in Microsoft's JavaScript scripting engine could be triggered by a crafted web page or embedded ActiveX control, allowing an attacker to run arbitrary code with the victim's privileges. The text does not give technical details of the underlying bug.
Description
A remote code execution vulnerability exists in the way that Microsoft browser JavaScript engines render content when handling objects in memory. The vulnerability could corrupt memory in such a way that an attacker could execute arbitrary code in the context of the current user. In a web-based attack scenario, an attacker could host a specially crafted website that is designed to exploit the vulnerability through Microsoft browsers and then convince a user to view the website. An attacker could also embed an ActiveX control marked "safe for initialization" in an application or Microsoft Office document that hosts the related rendering engine. 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. 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. The security update addresses the vulnerability by modifying how Microsoft browser JavaScript scripting engines handle objects in memory.
Microsoft Scripting Engine
Microsoft Scripting Engine
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 an object lifetime or type confusion error in the JavaScript engine's memory handling, but the text does not state the specific mistake.
Impact
An attacker could execute arbitrary code with the same rights as the current user, and could take control of the system if that user is an administrator.
What the attacker needed
Victim uses a Microsoft browser; victim visits a crafted page or opens a document
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 browser's JavaScript engine is the part that runs scripts on web pages. Here, a bug in how that engine handled certain objects in memory could let a malicious page crash or take over the browser, and then run the attacker's own code as the logged-in user. The advisory only says a security update fixes it; it does not explain the exact mistake.
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.