Skip to content
Memory corruption Advisory Advanced CVE-2021-34480

Scripting Engine Memory Corruption Vulnerability (CVE-2021-34480)

A memory corruption flaw existed in the Microsoft Scripting Engine, which could be triggered when a user opened a specially crafted file. An attacker could exploit this by convincing a user to open such a file, potentially leading to code execution in the context of the user.

Ivan Fratric Follow

Originally disclosed on Microsoft

Critical 6.8 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires that a user open a specially crafted file. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) containing a specially crafted file designed to exploit the vulnerability. An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file.

Microsoft Scripting Engine

Microsoft Scripting Engine

Microsoft

Microsoft

Customer Action Required

Yes

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

Impact

An attacker could potentially execute arbitrary code on the victim's system, but only if the user opens a specially crafted file.

What the attacker needed

Victim opens a specially crafted file; attacker convinces victim via email or link

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.

This is a memory corruption bug in a component that processes scripts. If a victim opens a malicious file, the flaw could let an attacker run their own code on the victim's machine. The attacker must first trick the user into opening the file, for example via an email attachment or a link.

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.

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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.