Exploit database

Vulnerability

CVE-2023-38146

Windows Themes Remote Code Execution Vulnerability

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · microsoft

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

Description

Windows Themes Remote Code Execution Vulnerability

CVE Program

Exploit source choices

8 sources
Themebleed- Windows 11 Themes Arbitrary Code Execution CVE-2023-38146
MSF-windows--fileformat--theme_dll_hijack_cve_2023_38146MetasploitWindows / remotePreferred

When an unpatched Windows 11 host loads a theme file referencing an msstyles file, Windows loads the msstyles file, and if that file's PACKME_VERSION is `999`, it then attempts to load an accompanying dll file ending in `_vrf.dll` Before loading that file, it verifies that the file is signed. It does this by opening the file for reading and verifying the signature before opening the file for execution. Because this action is performed in two discrete operations, it opens the procedure for a time of check to time of use vulnerability. By embedding a UNC file path to an SMB server we control, the SMB server can serve a legitimate, signed dll when queried for the read, but then serve a different file of the same name when the host intends to load/execute the dll.

2023-09-13theme_dll_hijack_cve_2023_38146.rb
aneasystone/github-trending
GH-57cc0777a8d8d3714cc5a0fca8b6fd16GitHubUnofficial GitHub source

使用 Github Actions 跟踪 Github 趋势项目。

2022-08-0955 files · 213 stars
exploits-forsale/themebleed
GH-1946450fbaa44064db5c1431c4e423d0GitHubUnofficial GitHub source

Proof-of-Concept for CVE-2023-38146 ("ThemeBleed")

2023-09-1311 files · 206 stars
jnnshschl/cve-2023-38146
GH-16294ff283115437faa688dcd6f26d8bGitHubUnofficial GitHub source

PoC for the ThemeBleed Windows 11 CVE-2023-38146 written in python using impacket. https://jnns.de/posts/cve-2023-38146-poc/

2023-10-137 files · 27 stars
durge5/themebleedpy
GH-b09b4051fd41a60d2fb38e8dacd5cc73GitHubUnofficial GitHub source

A proof of concept using python for the CVE-2023-38146 "ThemeBleed"

2023-12-126 files · 2 stars
ankitosh/temp
GH-f48f29a643a9204003e22503fcabc16cGitHubUnofficial GitHub source

ankitosh/temp source repository

2023-10-015 files · 0 stars
calegarimindsec/htb_writeups
GH-88bc787d3cf31a034283e4071835a04fGitHubUnofficial GitHub source

My HTB Writeups

2022-09-114,346 files · 0 stars
ch0ico/cve-2023-38146-poc
GH-92f4c1ddfcfd6cef1028260ee9505549GitHubUnofficial GitHub source

Better POC

2026-07-128 files · 0 stars