Skip to content
Memory corruption Advisory Advanced CVE-2025-54104

Windows Defender Firewall Service Elevation of Privilege Vulnerability (CVE-2025-54104)

A type confusion flaw exists in the Windows Defender Firewall Service. An attacker who is already in a specific user group could exploit it to raise their privileges from Medium Integrity Level to Local Service.

k0shl Follow

Originally disclosed on Microsoft

High 6.7 View original

Description

Access of resource using incompatible type ('type confusion') in Windows Defender Firewall Service allows an authorized attacker to elevate privileges locally.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker could use this vulnerability to elevate privileges from Medium Integrity Level to Local Service.

FAQ

According to the CVSS metric, privileges required is high (PR:H). What privileges are required to exploit this vulnerability? To successfully exploit the vulnerability, an attacker must be part of a specific user group.

Windows Defender Firewall Service

Windows Defender Firewall Service

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by k0shl with Kunlun Lab. 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

Root cause

Likely a type confusion in the Windows Defender Firewall Service, where the service treats a resource as a different type than it actually is.

Impact

An attacker in the required user group could elevate privileges from Medium Integrity Level to Local Service.

What the attacker needed

Attacker is in a specific user group; local access to the machine

The fix

Microsoft marked customer action as required, but the text does not describe the fix itself.

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.

This is a flaw in a Windows background program (the firewall service) that mixes up the type of data it is handling. Someone who already has a limited account on the machine and belongs to a particular user group could use the flaw to gain more power on that computer. It does not let a remote stranger in; the attacker must already be logged in.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by k0shl

View all

98 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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.