CVE-2025-24054

MEDIUM KEV

Windows 10 1507-22H2 and Windows 11 22H2 - Unauthenticated Spoofing via NTLM File Path Control

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2025-24054 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added April 17, 2025. EIP tracks 16 public exploits from researchers including beatrizfn, hyp3rlinx, rubenformation.

AI-analyzed exploit summary This PoC generates a .library-ms XML file that points to a UNC path, exploiting a spoofing vulnerability in Windows 10/11. The script creates a zip file containing the malicious library file, which, when opened, directs the user to a specified network share.

Description

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network.

Exploits (16)

exploitdb WORKING POC
by beatrizfn · pythonremotewindows
https://www.exploit-db.com/exploits/52480

This PoC generates a .library-ms XML file that points to a UNC path, exploiting a spoofing vulnerability in Windows 10/11. The script creates a zip file containing the malicious library file, which, when opened, directs the user to a specified network share.

Classification
Working Poc 95%
Attack Type
Other
Complexity
Trivial
Reliability
Reliable
Target: Windows 10/11 (library-ms handling)
No auth needed
Prerequisites: Network access to the target system · User interaction to open the .library-ms file
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC
by beatrizfn · pythonremotewindows
https://www.exploit-db.com/exploits/52478

This PoC generates a .library-ms XML file that points to a UNC path, which when opened on Windows, triggers an NTLM hash disclosure via SMB authentication. It is a legitimate exploit for CVE-2025-24054.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Windows 10/11 (NTLM authentication)
No auth needed
Prerequisites: Network access to the target · User interaction to open the .library-ms file
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
exploitdb WRITEUP
by hyp3rlinx · textlocalwindows
https://www.exploit-db.com/exploits/52280

This advisory describes an NTLM hash disclosure vulnerability in Microsoft's .library-ms files, originally reported in 2018 and later assigned CVE-2025-24054. It provides historical context, references, and disclosure timeline but lacks functional exploit code.

Classification
Writeup 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Theoretical
Target: Microsoft Windows .library-ms files
No auth needed
Prerequisites: User interaction to open a malicious .library-ms file
mistral-large-3 · analyzed Feb 18, 2026 Full analysis →
github WORKING POC 52 stars
by rubenformation · powershellinfoleak
https://github.com/rubenformation/CVE-2025-50154

This repository contains a functional PowerShell script that generates a malicious .LNK file to exploit CVE-2025-50154 and CVE-2025-59214, triggering NTLMv2-SSP hash disclosure via Windows File Explorer without user interaction. The exploit leverages a bypass in Microsoft's patch by crafting a shortcut with a remote SMB target path, forcing Explorer to fetch PE icons and leak authentication hashes.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Windows File Explorer (affected versions)
No auth needed
Prerequisites: Access to a remote SMB server hosting a binary file · Ability to deliver the .LNK file to the victim's system
mistral-large-3 · analyzed Feb 19, 2026 Full analysis →
github WORKING POC 25 stars
by Marcejr117 · pythonpoc
https://github.com/Marcejr117/CVE-2025-24071_PoC

This PoC exploits CVE-2025-24054 (formerly CVE-2025-24071) by generating a malicious `.library-ms` file embedded in a ZIP archive. When extracted by a victim, it triggers an SMB connection to an attacker-controlled IP, leaking NetNTLMv2 hashes.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Windows (explorer.exe)
No auth needed
Prerequisites: Attacker-controlled SMB server (e.g., Responder) · Victim interaction (ZIP extraction)
mistral-large-3 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC 21 stars
by helidem · client-side
https://github.com/helidem/CVE-2025-24054_CVE-2025-24071-PoC

This PoC demonstrates an NTLM hash leak vulnerability via `.library-ms` files on unpatched Windows systems. It generates a malicious `.library-ms` file that triggers an SMB authentication request to a specified server when opened or previewed in Windows Explorer.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Windows (unpatched systems as of March 2025 Patch Tuesday)
No auth needed
Prerequisites: Unpatched Windows system · Responder or similar tool to capture NTLM hash · Victim interaction to open/preview the `.library-ms` file
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by basekilll · infoleak
https://github.com/basekilll/CVE-2025-24054_PoC

This PoC generates a malicious .library-ms file that exploits CVE-2025-24054 by embedding a UNC path to a remote SMB share, which can trigger arbitrary code execution when opened by a vulnerable system. The script creates a zip file containing the exploit file for delivery.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Windows (specific version not specified in PoC)
No auth needed
Prerequisites: Attacker-controlled SMB share · Victim interaction to open the .library-ms file
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 2 stars
by Untouchable17 · remote-auth
https://github.com/Untouchable17/CVE-2025-24054

This repository contains a proof-of-concept exploit for CVE-2025-24054, which leverages Windows File Explorer's automatic UNC path resolution during file preview operations to disclose NTLMv2-SSP hashes. The exploit includes both a Python-based implementation targeting SearchConnector files and a PowerShell-based bypass for subsequent patches.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Windows File Explorer (specific versions not specified)
No auth needed
Prerequisites: Python 3.6+ for the Python PoC · Windows PowerShell 5.1+ for the PowerShell PoC · Network access to the target system
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 1 stars
by Yuri08loveElaina · client-side
https://github.com/Yuri08loveElaina/CVE-2025-24054_POC

This PoC exploits CVE-2025-24054 by creating a malicious .library-ms file to trigger an SMB connection to an attacker-controlled server, capturing NTLMv2 hashes. It includes functionality to generate the exploit file and extract hashes from Responder logs.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Windows (specific version not specified)
No auth needed
Prerequisites: Attacker-controlled SMB server (e.g., Responder) · Victim interaction to open the .library-ms file
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
github WRITEUP
by T0tooro · poc
https://github.com/T0tooro/cve-2025-24054-lab

This repository provides a detailed defensive analysis of CVE-2025-24054, focusing on detection and mitigation strategies for the Windows NTLM Hash Disclosure Spoofing vulnerability. It includes Sysmon configurations, Wazuh rules, and mitigation steps via Group Policy, but does not contain functional exploit code.

Classification
Writeup 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Windows 10/11, Windows Server 2008 R2 to 2025
No auth needed
Prerequisites: Isolated lab environment · Sysmon and Wazuh setup · Responder for hash capture
mistral-large-3 · analyzed Jul 01, 2026 Full analysis →
github WORKING POC
by Fomovet · rubypoc
https://github.com/Fomovet/cve-2025-24054

This Metasploit module exploits CVE-2025-24071 by generating a malicious .library-ms file embedded in a ZIP archive. When extracted, it triggers an SMB request to an attacker-controlled server, leaking NTLM hashes.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Windows Explorer (unspecified version)
No auth needed
Prerequisites: Attacker-controlled SMB server · Victim extracts the malicious ZIP file
mistral-large-3 · analyzed Jun 21, 2026 Full analysis →
nomisec WORKING POC
by simantchaudhari · local
https://github.com/simantchaudhari/CVE-2025-24054-PoC

This repository contains a functional PoC for CVE-2025-24054, which exploits a Windows .library-ms file vulnerability to leak Net-NTLMv2 hashes via SMB. The PoC generates a malicious .library-ms file embedded in a ZIP archive, triggering an automatic SMB connection when extracted.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Windows (specific version not specified)
No auth needed
Prerequisites: Attacker-controlled IP for SMB capture · Victim interaction to extract ZIP
mistral-large-3 · analyzed May 01, 2026 Full analysis →
nomisec WORKING POC
by SecurityLayer404 · local
https://github.com/SecurityLayer404/CVE-2025-24054-24071---Metasploit-Module

This repository contains a functional Metasploit module that exploits CVE-2025-24054 (formerly CVE-2025-24071) to leak NTLM hashes via a malicious .library-ms file embedded in a ZIP archive. The module generates a crafted ZIP file that, when extracted by Windows Explorer, triggers an SMB authentication request to an attacker-controlled server.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Windows Explorer (specific version not specified)
No auth needed
Prerequisites: Metasploit Framework · Attacker-controlled SMB server (e.g., Responder/Impacket) · Victim interaction to extract the ZIP file
mistral-large-3 · analyzed Apr 09, 2026 Full analysis →
nomisec STUB
by Wind010 · poc
https://github.com/Wind010/CVE-2025-24054_PoC

The repository contains only a README.md file with minimal information, mentioning CVE-2025-24054 and CVE-2025-24071 but no actual exploit code or technical details.

Classification
Stub 10%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: unspecified
No auth needed
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by moften · client-side
https://github.com/moften/CVE-2025-24054

This PoC generates a malicious .library-ms file that exploits CVE-2025-24054 to trigger NTLM hash theft by pointing to an attacker-controlled SMB share. The script automates the creation of the file with user-provided attacker IP and share name.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Windows (specific version not specified)
No auth needed
Prerequisites: Attacker-controlled SMB server · Victim interaction to open the .library-ms file
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by S4mma3l · client-side
https://github.com/S4mma3l/CVE-2025-24054

This PoC generates a malicious .library-ms file that exploits CVE-2025-24054 to trigger an SMB connection to an attacker-controlled server, capturing Net-NTLM hashes. It automates the creation of the XML file with a UNC path pointing to the attacker's server.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Microsoft Windows (specific version not specified in PoC)
No auth needed
Prerequisites: Attacker-controlled SMB server (e.g., Responder or Impacket) · Victim interaction to open the .library-ms file
mistral-large-3 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 6.5
EPSS 0.5897
EPSS Percentile 99.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation active
Automatable no
Technical Impact partial

Details

CISA KEV 2025-04-17
VulnCheck KEV 2025-04-16
ENISA EUVD EUVD-2025-6336
CWE
CWE-73
Status published
Products (16)
microsoft/windows_10_1507 < 10.0.10240.20947 (2 CPE variants)
microsoft/windows_10_1607 < 10.0.14393.7876 (2 CPE variants)
microsoft/windows_10_1809 < 10.0.17763.7009 (2 CPE variants)
microsoft/windows_10_21h2 < 10.0.19044.5608 (3 CPE variants)
microsoft/windows_10_22h2 < 10.0.19045.5608 (3 CPE variants)
microsoft/windows_11_22h2 < 10.0.22621.5039 (2 CPE variants)
microsoft/windows_11_23h2 < 10.0.22631.5039 (2 CPE variants)
microsoft/windows_11_24h2 < 10.0.26100.3403 (2 CPE variants)
microsoft/windows_server_2008 r2 sp1
microsoft/windows_server_2012
... and 6 more
Published Mar 11, 2025
KEV Added Apr 17, 2025
Tracked Since Feb 18, 2026