Windows Scripting Languages Remote Code Execution Vulnerability (CVE-2022-41118)
A race condition in the JScript9 and Chakra scripting engines could allow remote code execution when a user visits a malicious server share or website. An attacker could exploit this by hosting a specially crafted server share or website and convincing a user to access it.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.
FAQ
The CVE title says Windows Scripting Languages, what does that mean for this vulnerability? This vulnerability impacts both the JScript9 and Chakra scripting languages.
FAQ
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? This vulnerability requires that a user with an affected version of Windows access a malicious server. An attacker would have to host a specially crafted server share or website. An attacker would have no way to force users to visit this specially crafted server share or website, but would have to convince them to visit the server share or website, typically by way of an enticement in an email or chat message.
FAQ
The Security Updates table indicates that this vulnerability affects all supported versions of Microsoft Windows. Why are IE Cumulative updates listed for Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8.1, and Windows Server 2012 R2? While Microsoft has announced retirement of the Internet Explorer 11 application on certain platforms and the Microsoft Edge Legacy application is deprecated, the underlying MSHTML, EdgeHTML, and scripting platforms are still supported. The MSHTML platform is used by Internet Explorer mode in Microsoft Edge as well as other applications through WebBrowser control. The EdgeHTML platform is used by WebView and some UWP applications. The scripting platforms are used by MSHTML and EdgeHTML but can also be used by other legacy applications. Updates to address vulnerabilities in the MSHTML platform and scripting engine are included in the IE Cumulative Updates; EdgeHTML and Chakra changes are not applicable to those platforms. To stay fully protected, we recommend that customers who install Security Only updates install the IE Cumulative updates for this vulnerability.
Windows Scripting
Windows Scripting
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
Impact
An attacker could execute arbitrary code on the victim's system, potentially taking control of the affected machine.
What the attacker needed
Victim uses affected Windows version; victim visits malicious server share or website; attacker must win a race condition
The fix
Microsoft released security updates to address the vulnerability; users should install the updates.
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 flaw in the software that runs scripts in Windows. A race condition means two things happen at almost the same time, and if the attacker gets the timing just right, they can run their own code on your computer. They trick you into visiting a malicious website or network share, and then they can take control.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.