vendor:
VBScript
by:
Anonymous
7.8
CVSS
HIGH
Use-After-Free
416
CWE
Product Name: VBScript
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: Yes
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: Windows
2020
Microsoft VBScript Use-After-Free Vulnerability
There is a use-after-free vulnerability (possibly two vulnerabilities triggerable by the same PoC) in Microsoft VBScript. The vulnerability has been confirmed in Internet Explorer on Windows 7 with the latest patches applied. The PoC involves creating a Scripting.Dictionary object, setting an item to a new class2 object, and then setting the item to a new value. This triggers a call to OLEAUT32!VariantClear, which can call attacker-controlled VBScript and free the memory holding the Variant. Additionally, VBADictionary::put_Item calls VariantCopy immediately after VariantClear, which can access the freed memory.
Mitigation:
Apply the latest security patches from Microsoft.