What is ws2ifsl.sys?
ws2ifsl.sys is the Winsock Kernel Interprocess Communication (IFS) driver that Windows uses to bridge the user-mode Winsock networking API to kernel-mode socket handling. As a kernel driver reachable through everyday networking calls that any user-mode application can issue, it presents a broad, low-friction attack surface for local privilege escalation.
Overview
CVE-2019-1215 is a local privilege escalation vulnerability in the ws2ifsl.sys Winsock kernel driver caused by improper handling of objects in memory. A locally-authenticated, low-privileged attacker can trigger the flaw through crafted socket-related IOCTL requests to escalate to SYSTEM-level code execution. Public proof-of-concept code for this bug circulated before Microsoft's official patch, making it a genuine zero-day at the time of disclosure.
Technical Details
The vulnerability arises from the driver's IOCTL handling failing to properly validate or synchronize access to kernel objects, a pattern consistent with a null-pointer dereference or use-after-free triggered by sending a specific sequence of crafted IOCTL calls to the driver from an unprivileged process. Because the driver runs in kernel mode and processes are able to invoke it directly via standard networking APIs, an attacker who can run any code locally — even with low privileges — can reach the vulnerable code path without needing administrative access or user interaction, and with low attack complexity turn the resulting memory corruption into SYSTEM-level code execution.
Discovery
A working proof-of-concept exploit was released publicly by the researcher known as SandboxEscaper, who between 2018 and 2019 published a series of unpatched Windows local privilege escalation zero-days on GitHub without prior vendor coordination — this bug was one of several such "drop and disclose" 0-days from that period, colloquially referred to by researchers as "AngryPolarBearBug2." Microsoft patched the underlying flaw in the September 2019 cumulative update.
Exploitation Context
Because a working exploit was public before Microsoft shipped a fix, this vulnerability had a real window of active zero-day exposure, and its CISA KEV listing along with the ransomwareUse: true flag confirms it has since been folded into ransomware-affiliated intrusion toolkits as a local privilege-escalation step used after an initial foothold is established on a Windows host.
Remediation
- Apply the September 2019 (or later) Windows cumulative update, which fixes the
ws2ifsl.sysmemory-handling flaw. - Prioritize patching given this bug's history as a publicly-disclosed, pre-patch zero-day with working exploit code freely available.
- Restrict local logon rights and monitor for unusual process behavior invoking low-level Winsock IOCTL calls where feasible.
- Deploy EDR tooling capable of detecting anomalous privilege escalation from standard user to SYSTEM context.
- Treat local LPE bugs disclosed via public zero-day PoC releases (rather than coordinated disclosure) as especially high priority for expedited patch rollout.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2019-1215 |
| Vendor / Product | Microsoft — Windows |
| NVD Published | 2019-09-11 |
| NVD Last Modified | 2025-10-29 |
| CVSS 3.1 Score | 7.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CISA KEV Added | 2021-11-03 |
| CISA KEV Deadline | 2022-05-03 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2019-06-13 | Proof-of-concept exploit for the ws2ifsl.sys flaw released publicly by security researcher SandboxEscaper |
| 2019-09-10 | Patched in Microsoft's September 2019 Patch Tuesday cumulative update |
| 2021-11-03 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-05-03 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2019-1215 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |