Scripting Engine Memory Corruption Vulnerability (CVE-2016-3205)
The VBScript scripting engine 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 or document that hosts the browser rendering engine.
Description
A remote code execution vulnerability exists in the way the scripting engine handles objects in memory in Microsoft browsers. 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 designed to exploit the vulnerability through a Microsoft browser 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 browser 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. The security update addresses the vulnerability by modifying how the scripting engine handles objects in memory.
FAQ
For my particular system and Internet Explorer configuration, which update addresses the vulnerabilities discussed in CVE-2016-3205, CVE-2016-3206, or CVE-2016-3207? CVE-2016-3205, CVE-2016-3206, and CVE-2016-3207 are vulnerabilities in the VBScript engine. Although the attack vector is through Internet Explorer, the vulnerability is addressed by the updates released in this bulletin (MS16-063) for systems running Internet Explorer 9, Internet Explorer 10, and Internet Explorer 11. For Internet Explorer 7 and earlier, the vulnerabilities are addressed by the updates described in MS16-069 . **Once I know the version of the JScript or VBScript scripting engine installed on my system, where do I get the update? ** The affected software in this bulletin apply to systems running Internet Explorer 7 or earlier. Customers with systems running Internet Explorer 8 or later should apply the Internet Explorer Cumulative Update ( MS16-063 ), which also addresses the vulnerabilities discussed in this bulletin. Why do I see both JScript.dll and VBScript.dll in the packages for this cumulative security update? This security update ships as a cumulative update for the JScript and VBScript scripting engines. While both engines are included in this release, the components affected by the security fixes covered by this bulletin are listed above in the section Affected Software . How do I determine which versions of JScript and VBScript scripting engines are installed on my system? The JScript and VBScript scripting engines are installed with supported releases of Microsoft Windows. In addition, installing a newer version of Internet Explorer on a system can change the versions of the JScript and VBScript scripting engines that are installed. To determine which versions of the JScript or VBScript scripting engines are installed on your system, perform the following steps: Open Windows Explorer. Navigate to the %systemroot%\system32 directory. For VBScript, right-click vbscript.dll , select Properties , and then click the Details tab. For JScript, right-click jscript.dll , select Properties , and then click the Details tab. The version number is listed in the File Version field. If your file version starts with 5.8, for example 5.8.7600.16385, then VBScript 5.8 is installed on your system.
Internet Explorer
Internet Explorer
Microsoft
Microsoft
Customer Action Required
Yes
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 VBScript engine handles objects in memory, such as a use-after-free or similar corruption.
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 gives no reproduction detail and does not say whether any defence limited it.
What the attacker needed
Victim uses a Microsoft browser; victim visits a crafted page or 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 scripting engine is the part of the browser that runs small programs on web pages. Here it made a mistake when handling data in memory, and a malicious page could use that mistake to run the attacker's own code on your computer, with whatever permissions you have. The fix is a software update that changes how the engine handles memory.
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.