Skip to content
RCE Advisory Intermediate CVE-2023-38146

Windows Themes Remote Code Execution Vulnerability (CVE-2023-38146)

A flaw in Windows Themes allowed an attacker to run code by tricking a user into loading a theme file that referenced an attacker-controlled SMB share. The attacker could then execute arbitrary code on the victim's system.

Emma Kirkpatrick Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

How could an attacker exploit this vulnerability? An attacker would need to convince a targeted user to load a Windows Themes file on a vulnerable system with access to an attacker-controlled SMB share.

Windows Themes

Windows Themes

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Emma Kirkpatrick ( @carrot_c4k3 ). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

What the attacker needed

Victim loads a malicious theme file; system can access attacker's SMB share

The fix

Microsoft addressed the vulnerability; customers should apply the security update.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Windows Themes are files that change how your desktop looks. This bug meant that if you opened a malicious theme file, it could connect to a server controlled by an attacker and run harmful code on your computer. The attacker first had to trick you into opening the file.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Emma Kirkpatrick

View all

4 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.