CVE-2018-8440 — Microsoft Windows Privilege Escalation Vulnerability

CVE-2018-8440

Windows ALPC Task Scheduler — Public Zero-Day Disclosed by "SandboxEscaper" Before a Patch Existed

What is Advanced Local Procedure Call (ALPC)?

ALPC is an internal Windows inter-process communication mechanism used extensively by system services — including the Task Scheduler — to communicate between processes with different privilege levels. Because ALPC endpoints are often exposed to lower-privileged callers by design, bugs in how a privileged service validates ALPC requests are a recurring source of local privilege escalation on Windows.

Overview

CVE-2018-8440 is an elevation of privilege vulnerability in the Windows Task Scheduler's handling of ALPC calls. A locally authenticated, low-privileged attacker can exploit the flaw to gain SYSTEM privileges. It became widely known because a security researcher using the handle "SandboxEscaper" publicly disclosed technical details and a working proof-of-concept exploit on Twitter/GitHub in late August 2018 — before Microsoft had a patch ready — making it a public zero-day for roughly two weeks.

Technical Details

The bug stems from improper permission validation in the Task Scheduler's SchRpcSetSecurity ALPC method, which allowed a caller to set an arbitrary discretionary access control list (DACL) on files normally protected from modification by unprivileged users. By pointing this method at a sensitive system file (such as a service binary) and granting themselves write access, an attacker could overwrite that file with malicious content and achieve code execution at a higher privilege level than they started with — a straightforward privilege escalation with low attack complexity and no user interaction required.

Discovery

The vulnerability was publicly disclosed by security researcher "SandboxEscaper" in August 2018, who released proof-of-concept code without prior coordinated disclosure to Microsoft, giving defenders no advance warning.

Exploitation Context

Before Microsoft's official patch shipped in the September 2018 Patch Tuesday update, the public proof-of-concept was reportedly picked up and used in real-world attacks; security researchers at ESET later reported the PowerPool threat group using this vulnerability against a small number of targets shortly after the public disclosure. CISA added CVE-2018-8440 to the KEV catalog in March 2022, and the entry notes confirmed use in ransomware operations as well.

Remediation

  1. Apply the September 2018 Windows security update (or later cumulative update) addressing CVE-2018-8440.
  2. Treat this as a high-priority patch on any system given the known gap between public zero-day disclosure and vendor fix, and confirmed subsequent exploitation.
  3. Apply least-privilege principles to limit what a low-privileged local account can reach, reducing the value of this and similar local EoP bugs.
  4. Maintain EDR/antivirus coverage capable of detecting known "SandboxEscaper"-family exploit tooling and its file-permission-tampering behavior.
  5. Monitor Task Scheduler and file-permission change logs for anomalous DACL modifications on sensitive system files.

Key Details

PropertyValue
CVE ID CVE-2018-8440
Vendor / Product Microsoft — Windows
NVD Published2018-09-13
NVD Last Modified2025-10-28
CVSS 3.1 Score7.8
CVSS 3.1 VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SeverityHIGH
CISA KEV Added2022-03-28
CISA KEV Deadline2022-04-18
Known Ransomware Use ⚠️ Yes

CVSS 3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Required Action

CISA BOD 22-01 Deadline: 2022-04-18. Apply updates per vendor instructions.

Timeline

DateEvent
2018-08-27Security researcher "SandboxEscaper" publicly discloses a proof-of-concept exploit before a patch was available
2018-09-11Patched by Microsoft (September 2018 Patch Tuesday)
2022-03-28Added to CISA Known Exploited Vulnerabilities catalog
2022-04-18CISA BOD 22-01 remediation deadline

References

ResourceType
NVD — CVE-2018-8440 Vulnerability Database
CISA KEV Catalog Entry US Government
Microsoft Security Response Center — CVE-2018-8440 Vendor Advisory