Skip to content
RCE Advisory Advanced CVE-2018-8619

Internet Explorer Remote Code Execution Vulnerability (CVE-2018-8619)

Internet Explorer's VBScript execution policy failed to properly restrict VBScript under certain conditions, allowing specially crafted content to run arbitrary code. An attacker could host a malicious site and convince a user to visit it, gaining code execution at the current user's privilege level.

Ivan Fratric Follow

Originally disclosed on Microsoft

High 7.5 View original

Description

A remote code execution vulnerability exists when the Internet Explorer VBScript execution policy does not properly restrict VBScript under specific conditions. An attacker who exploited the vulnerability could run arbitrary code with medium-integrity level privileges (the permissions of the current user). In a web-based attack scenario, an attacker could host a website in an attempt to exploit this 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 users to view the attacker-controlled content. Instead, an attacker would have to convince users to take action. For example, an attacker could trick users into clicking a link that takes them to the attacker's site. The update addresses the vulnerability by fixing how the Internet Explorer VBScript execution policy validates embedded VBScript content.

Internet Explorer

Internet Explorer

The original report as published on the Microsoft Security Response Center, by Ivan Fratric of Google Project Zero. 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 the VBScript execution policy did not correctly validate embedded VBScript content, so some embedded scripts escaped the intended restriction.

Impact

An attacker could run arbitrary code with the permissions of the current user, but only if they could convince the victim to visit attacker-controlled content; there was no way to force this.

What the attacker needed

Victim uses Internet Explorer; victim visits attacker-controlled content

The fix

The update was fixed by correcting how the VBScript execution policy validates embedded VBScript content.

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.

VBScript is an old scripting language that Internet Explorer can run inside web pages. A security rule meant to stop certain scripts from running had a gap, so a booby-trapped page could make the browser run the attacker's code as if it were the logged-in user. The victim still has to be lured to the page, for example by clicking a link.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Ivan Fratric

View all

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

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.