CVE-2018-0834
High · 7.5CVSS
7.5
EPSS
55.2%
Published
Feb 15, 2018
CISA due date
—
Cloudanix analysis
A bug in the web browser's scripting engine let attackers run their own programs on a computer simply by getting the user to visit a malicious website.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- High
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Memory corruption in the Chakra scripting engine allows an attacker to achieve arbitrary code execution by manipulating objects in memory during script execution.
Why it matters to the business
Attackers can gain full control of affected Windows systems via a malicious web page, enabling data theft, persistence, or deployment of additional malware on unpatched endpoints.
How an attack unfolds
An attacker crafts a malicious web page containing specially formed JavaScript that triggers a use-after-free or similar memory corruption condition in the Chakra engine when the page is rendered in Edge; successful corruption leads to control-flow hijacking and remote code execution within the browser process.
How to fix it
Apply the latest cumulative security updates for Microsoft Edge and Windows 10/Server 2016; replace any standalone ChakraCore builds with patched versions; disable Edge where feasible until updates are deployed.
How to confirm the fix worked
Confirm Edge and Windows builds are newer than the February 2018 security update; verify ChakraCore commits after the fix date; test that the vulnerable object-handling code paths no longer crash or allow code execution under fuzzing.
Typical attack path
- Attacker hosts a malicious website containing a crafted JavaScript payload
- Victim is lured to visit the site via phishing or compromised legitimate site
- Edge/Chakra processes the script and triggers the memory corruption
- Attacker achieves arbitrary code execution inside the browser sandbox or escapes it
- Payload downloads and executes additional malware or establishes C2
How to detect it
Review Windows Event Logs and browser crash dumps for unexpected Chakra.dll terminations around the time of web browsing; correlate with web proxy logs showing visits to previously unknown domains; inspect process creation events following Edge activity for anomalous child processes.
What your security team should do
- Immediately inventory all Windows 10 and Server 2016 systems running Edge
- Prioritize patching of internet-facing or high-risk workstations
- Block legacy Edge usage via group policy where modern browsers are available
- Monitor for any remaining ChakraCore dependencies in internal applications
The record
Microsoft Edge and ChakraCore in Microsoft Windows 10 Gold, 1511, 1607, 1703, 1709, and Windows Server 2016 allows remote code execution, due to how the scripting engine handles objects in memory, aka "Scripting Engine Memory Corruption Vulnerability". This CVE ID is unique from CVE-2018-0835, CVE-2018-0836, CVE-2018-0837, CVE-2018-0838, CVE-2018-0840, CVE-2018-0856, CVE-2018-0857, CVE-2018-0858, CVE-2018-0859, CVE-2018-0860, CVE-2018-0861, and CVE-2018-0866.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| NuGet | Microsoft.ChakraCore | 0 | 1.8.1 |
Related vulnerabilities
- CVE-2019-0639 A remote code execution vulnerability exists in the way that the ChakraCore scripting… Also affects Microsoft.ChakraCore
- CVE-2019-0568 A remote code execution vulnerability exists in the way that the Chakra scripting engine… Also affects Microsoft.ChakraCore
- CVE-2019-0567 A remote code execution vulnerability exists in the way that the Chakra scripting engine… Also affects Microsoft.ChakraCore
- CVE-2019-0539 A remote code execution vulnerability exists in the way that the Chakra scripting engine… Also affects Microsoft.ChakraCore
- CVE-2018-8624 A remote code execution vulnerability exists in the way that the Chakra scripting engine… Also affects Microsoft.ChakraCore
- CVE-2018-8618 A remote code execution vulnerability exists in the way that the Chakra scripting engine… Also affects Microsoft.ChakraCore
- CVE-2018-8617 A remote code execution vulnerability exists in the way that the Chakra scripting engine… Also affects Microsoft.ChakraCore
- CVE-2018-8629 A remote code execution vulnerability exists in the way that the Chakra scripting engine… Also affects Microsoft.ChakraCore