Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-23388 PoC — Microsoft Bluetooth Driver 安全漏洞

Source
Associated Vulnerability
Title:Microsoft Bluetooth Driver 安全漏洞 (CVE-2023-23388)
Description:Microsoft Bluetooth Driver是美国微软(Microsoft)公司的应用软件蓝牙驱动。 Microsoft Bluetooth Driver存在安全漏洞。以下产品和版本受到影响:Windows 10 Version 1809 for 32-bit Systems,Windows 10 Version 1809 for x64-based Systems,Windows 10 Version 1809 for ARM64-based Systems,Windows Server 201
Description
poc for CVE-2023-23388 (LPE in Windows 10/11 bthserv service)
Readme
This repository contains a poc for CVE-2023-23388, which is described in [this series](https://ynwarcs.github.io/z-btadv-cves), particularly in [this post](https://ynwarcs.github.io/v-cve-2023-23388). It's an LPE in the bluetooth service (aka **bthserv**) in Windows 10/11 that allows an unprivileged user to escalate to LOCAL SERVICE. This repo doesn't contain an exploit, only a poc.

## building, running, etc.

**Use a VM. This could be a virus.**

MS fixed the vulnerability in March 2023 security update so you'll need to target a system that doesn't have that applied. You could also dirty patch the fix for testing, it shouldn't be too hard once you read the post. The system also needs bluetooth to be turned on, as the service may not run otherwise or may discard RPC requests. To compile the poc, open up the solution in VS 2022 and build it either in Debug or Release. Then run **poc.exe** with no arguments. It will trigger the vulnerability with `EventType=-0x50C`. There's no particular reason I chose that value, it just showcased the behaviour nicely since it guaranteed a crash.
File Snapshot

[4.0K] /data/pocs/47b716310cf936cdaf5a5447fc2ae1aeb47471db ├── [1.0K] LICENSE ├── [4.0K] poc_dll │   ├── [2.3K] dllmain.cpp │   ├── [8.2K] poc_dll.vcxproj │   ├── [ 959] poc_dll.vcxproj.filters │   └── [ 165] poc_dll.vcxproj.user ├── [4.0K] poc_exe │   ├── [4.9K] main.cpp │   ├── [7.8K] poc_exe.vcxproj │   ├── [ 956] poc_exe.vcxproj.filters │   └── [1.2K] poc_exe.vcxproj.user ├── [2.1K] poc.sln └── [1.1K] README.md 2 directories, 11 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.