Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2023-36802: Microsoft Streaming Service Proxy Local Privilege Escalation

Published Sep 12, 2023 · Updated 28 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.8High · v3.1
EPSS2.2%83rd percentile
CISA KEVYesAdded Sep 12, 2023
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2023-36802CWE-843

CVE-2023-36802 is a type confusion vulnerability in the Microsoft Kernel Streaming Service driver that allows local privilege escalation to SYSTEM. Insufficient object-type validation permits an FSContextReg object to be treated as the larger FSStreamReg object. Streaming operations, including PublishTx and PublishRx, subsequently access fields outside the allocated object. In PublishRx, an out-of-bounds pointer passed to ObfDereferenceObject can produce an attacker-directed decrement primitive. This primitive can change a thread's PreviousMode from user mode to kernel mode, enabling further operations to obtain SYSTEM privileges. The vulnerability has been exploited in the wild.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the local Windows privilege boundary, allowing a low-privileged process to obtain SYSTEM privileges. Resulting access can enable security-control tampering, privileged malware execution, and access to protected system resources. In observed attacks, exploitation supported subsequent deployment of a malicious kernel driver and interference with antivirus protections. Invalid memory accesses can also cause a system crash.

Mitigation

If you can’t patch tonight, do this now.

No vulnerability-specific workaround is established. As defense-in-depth, restrict execution of untrusted programs, maintain endpoint detection and self-protection updates, monitor suspicious privilege escalation and driver loading, and verify that security protection components remain enabled. These measures do not replace installing the Windows security update.

Remediation

Patch, then assume compromise.

Install the applicable Microsoft Windows security updates released on September 12, 2023, or subsequent cumulative updates containing the fix. The patch replaces permissive object lookup with validation that accepts only FSStreamReg objects with type value 2 for the affected streaming operations.

Public exploits

Exploits

5 exploits validated by Mallory's analysis.

View more in app →
Windows_MSKSSRV_LPE_CVE-2023-36802This repository contains a local privilege escalation (LPE) exploit for CVE-2023-36802, targeting the Microsoft Kernel Streaming Service (MSKSSRV) on Windows 11 22H2. The exploit is implemented in C and is structured as a Visual Studio project. The main exploit logic resides in 'exploit.c', which orchestrates kernel memory spraying, object pointer retrieval, and the use of the IoRing interface to manipulate kernel structures. Supporting files include 'ioring_lpe.c' (IoRing setup and LPE logic), 'ioring.h' (IoRing structure definitions), and 'windefs.h' (Windows kernel structure definitions). The exploit requires the user to specify a process ID, which it then attempts to elevate to SYSTEM privileges by stealing the SYSTEM process token. Several fingerprintable endpoints are used, including named pipes (\\.\pipe\innocent, \\.\pipe\ioring_in, \\.\pipe\ioring_out) and a device path for the vulnerable driver. The exploit is operational and demonstrates a working LPE on vulnerable systems, but may require adaptation for other Windows versions.chompie1337 · Disclosed Oct 9, 2023 · c · cpp · localOperationalcve-2023-36802This repository contains a working local privilege escalation exploit for CVE-2023-36802, targeting the MSKSSRV.SYS driver on Windows 10 and 11. The main exploit logic is implemented in 'exploit.c', which interacts directly with the vulnerable driver using custom IOCTL codes and kernel memory manipulation. The exploit performs heap spraying using named pipes (\\.\pipe\exploitpipe), leaks kernel object addresses, and ultimately overwrites the current process token with the SYSTEM token. Upon success, it spawns a SYSTEM shell (cmd.exe). The code is structured as a Visual Studio C/C++ project, with supporting header and project files. The exploit is operational and demonstrates a full privilege escalation chain, but is not part of a larger exploitation framework.Nero22k · Disclosed Oct 23, 2023 · c · cpp · localOperationalReproducing-CVE-2023-36802This repository contains a functional local privilege escalation (LPE) exploit for CVE-2023-36802, a type confusion vulnerability in the Microsoft Kernel Streaming Server driver (mskssrv.sys) on Windows 11 22H2 (OS Build 22621.1631). The exploit is implemented in C and consists of several source and header files, with the main entry point being 'POC/exploit.c'. The exploit works by heap spraying with named pipes to groom kernel memory, leaking kernel addresses to bypass KASLR, and ultimately overwriting the attacker's process token with the SYSTEM token by exploiting the out-of-bounds write in the driver. The exploit requires a process PID as input and, if successful, elevates that process to SYSTEM privileges. The repository also includes detailed analysis and explanation of the vulnerability and exploitation technique in 'analysis.md' and 'readme.md'. The exploit is operational and demonstrates a full privilege escalation chain, but is not part of a larger exploitation framework.rahul0xkr · Disclosed Sep 26, 2025 · c · localOperationalCVE-2023-36802Repository is a small Windows local kernel exploit PoC for CVE-2023-36802, with two variants: a minimal crash trigger under crash/ and a larger exploitation-oriented PoC in the repository root. README only names the CVE. The crash variant consists of crash/head.h and crash/poc.cpp and simply opens the target device, sends IOCTL_FRAMESERVER_INIT_CONTEXT followed by IOCTL_FRAMESERVER_PUBLISH_RX with crafted buffers, likely to reproduce a crash or basic corruption. The main exploit is implemented in head.h and poc.cpp. head.h contains most helper logic and exploit primitives: device-opening code, custom IRP and DATA_QUEUE_ENTRY structures, fake queue entry construction, named-pipe scanning, a kernel memory read primitive built around PeekNamedPipe on corrupted pipe queue metadata, and kernel structure offsets for EPROCESS/ETHREAD traversal. poc.cpp performs the exploitation workflow: opens the vulnerable device twice, allocates controlled memory at a fixed user address, prepares fake DATA_QUEUE_ENTRY/IRP objects, sprays named pipes to shape kernel pool allocations, creates holes, issues IOCTL_FRAMESERVER_INIT_CONTEXT to place a vulnerable object into reclaimed memory, refills holes with overlapped writes, and triggers IOCTL_FRAMESERVER_PUBLISH_RX asynchronously to corrupt pipe structures while keeping the thread alive. After corruption, the exploit scans sprayed pipes to identify a victim pipe containing a marker, recalibrates offsets dynamically, and uses ReadMem to read arbitrary kernel memory through the corrupted pipe queue entry. It then reads linked kernel objects to recover an IRP pointer, ETHREAD, current process, and locate the SYSTEM process by walking ActiveProcessLinks. The provided content stops after locating SYSTEM, so the final privilege-escalation write primitive or token swap is not visible here, but the exploit clearly aims at local kernel privilege escalation. Overall, this is a real local Windows kernel exploit PoC with pool grooming and kernel read capabilities, not merely a detector.nhh9905 · Disclosed Jul 15, 2026 · cpp · c · localOperationalCVE-2023-36802-MSKSSRV-LPEThis repository is a proof-of-concept (PoC) exploit for CVE-2023-36802, a local privilege escalation vulnerability in the Microsoft Kernel Streaming Service (MSKSSRV.sys) on Windows 11 22H2 22621.1848. The exploit is implemented in C and consists of two main code files: 'Source.c' (main exploit logic) and 'Types.h' (type definitions and Windows structures). The exploit interacts directly with the vulnerable device driver via a specific device path, leveraging type confusion to manipulate kernel memory structures. Upon successful exploitation, it spawns a SYSTEM-level command shell (cmd.exe), granting the attacker full administrative privileges. The exploit requires local code execution on a vulnerable system and does not target remote or network attack vectors. The repository is structured for research and demonstration purposes, referencing public write-ups and prior research. No fake or destructive code is present, and the exploit is not part of a larger framework.x0rb3l · Disclosed Oct 20, 2023 · c · localPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 21h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
FAQ

Frequently asked questions

Is CVE-2023-36802 exploited in the wild?
Yes. As of Nov 1, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 12, 2023.
Is there a public exploit for CVE-2023-36802?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2023-36802, the earliest disclosed Oct 9, 2023.
Is there a patch for CVE-2023-36802?
Install the applicable Microsoft Windows security updates released on September 12, 2023, or subsequent cumulative updates containing the fix. The patch replaces permissive object lookup with validation that accepts only FSStreamReg objects with type value 2 for the affected streaming operations.
What products are affected by CVE-2023-36802?
Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, Microsoft Corporation Windows 11 21h2, Microsoft Corporation Windows 11 22h2, and 2 more.
How severe is CVE-2023-36802?
CVE-2023-36802 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 2.2% (83rd percentile) as of Nov 1, 2026.
Activity feed

Recent activity

10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.