Cloudanix VulnDB

CVE-2018-8384

High · 7.5

CVSS

7.5

EPSS

64.1%

Published

Aug 15, 2018

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Attend

A problem in how certain web scripts are handled could let attackers take over computers simply by getting users to visit a malicious webpage.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
High
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Memory corruption in the Chakra scripting engine during object handling allows arbitrary code execution in the context of the affected process.

Why it matters to the business

Attackers can gain full control of systems running vulnerable ChakraCore instances, enabling data theft, ransomware deployment, or persistent access; high ecosystem prevalence of the engine increases widespread exposure risk.

How an attack unfolds

An attacker delivers malicious JavaScript via a crafted webpage that the Chakra engine parses; the specially constructed objects trigger memory corruption, allowing shellcode execution without user interaction beyond page load.

How to fix it

Upgrade ChakraCore to a version containing the fix for CVE-2018-8384; apply all subsequent security updates from Microsoft; disable scripting where feasible and enforce strict content security policies.

How to confirm the fix worked

Verify ChakraCore version against known patched releases; re-test affected code paths with memory safety tools; confirm absence of the vulnerable object handling routines via binary diffing or source review.

Typical attack path

  1. attacker hosts or compromises a webpage containing malicious JavaScript targeting Chakra
  2. victim browser or application loads the page and invokes ChakraCore for script execution
  3. engine processes malformed objects causing memory corruption
  4. attacker gains arbitrary code execution in the process context
  5. payload establishes persistence or exfiltrates data

How to detect it

Review web proxy and browser logs for access to known malicious domains; inspect process memory dumps for anomalous Chakra object allocations; correlate with endpoint telemetry showing unexpected code execution following script processing.

What your security team should do

  • Immediately inventory all ChakraCore deployments and prioritize patching due to available public exploits and moderate EPSS score
  • Block untrusted JavaScript execution in high-risk environments
  • Enable exploit mitigation features such as ASLR and DEP
  • Monitor for new threat actor campaigns leveraging this memory corruption pattern

The record

A remote code execution vulnerability exists in the way that the Chakra scripting engine handles objects in memory in Microsoft Edge, aka "Chakra Scripting Engine Memory Corruption Vulnerability." This affects ChakraCore. This CVE ID is unique from CVE-2018-8266, CVE-2018-8380, CVE-2018-8381.

Affected packages

Ecosystem Package Introduced Fixed
NuGet Microsoft.ChakraCore 0 1.10.2

Related vulnerabilities