Security Vulnerability Report
中文
CVE-2025-48004 CVSS 7.4 HIGH

CVE-2025-48004

Published: 2025-10-14 17:15:42
Last Modified: 2025-10-21 14:35:52

Description

Use after free in Microsoft Brokering File System allows an unauthorized attacker to elevate privileges locally.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_11_25h2:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_server_2022_23h2:*:*:*:*:*:*:*:* - VULNERABLE
Microsoft Windows 10 (所有版本)
Microsoft Windows 11 (所有版本)
Microsoft Windows Server 2016
Microsoft Windows Server 2019
Microsoft Windows Server 2022
Microsoft Windows Server 2025

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-48004 - Microsoft Brokering File System Use After Free // PoC for local privilege escalation // WARNING: This is for educational and authorized testing purposes only #include <windows.h> #include <stdio.h> // Trigger the UAF vulnerability in Microsoft Brokering File System // by manipulating file system broker operations int main() { HANDLE hDevice; DWORD bytesReturned; BOOL result; printf("[+] CVE-2025-48004 PoC - Brokering File System UAF\n"); printf("[+] Attempting to trigger use-after-free condition...\n"); // Open a handle to the Brokering File System device hDevice = CreateFileW( L"\\\\.\\BrokeringFileSystem", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ); if (hDevice == INVALID_HANDLE_VALUE) { printf("[-] Failed to open Brokering File System device. Error: %lu\n", GetLastError()); printf("[*] Falling back to file system operations to trigger the bug...\n"); // Alternative: trigger via specific file system operations // The vulnerability can be triggered through specific I/O patterns // that cause the broker to free an object while still holding a reference HANDLE hFile = CreateFileW( L"C:\\Windows\\System32\\notepad.exe", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ); if (hFile != INVALID_HANDLE_VALUE) { // Perform specific operations to trigger the UAF // Note: Actual exploitation requires kernel-level payload CloseHandle(hFile); printf("[*] File operations completed. Actual exploitation requires kernel shellcode.\n"); } } else { // Send crafted IOCTL to trigger the vulnerability // The specific IOCTL code and input buffer would need to be // determined through reverse engineering printf("[+] Device opened successfully\n"); printf("[*] Sending crafted request to trigger UAF...\n"); CloseHandle(hDevice); } printf("[+] PoC execution completed.\n"); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-48004", "sourceIdentifier": "[email protected]", "published": "2025-10-14T17:15:42.367", "lastModified": "2025-10-21T14:35:51.750", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Use after free in Microsoft Brokering File System allows an unauthorized 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:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.4, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "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-416"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_22h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.22621.6060", "matchCriteriaId": "6F387FA2-66C8-4B70-A537-65806271F16A"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_23h2:*:*:*:*:*:*:*:*", "versionEndIncluding": "10.0.22631.6060", "matchCriteriaId": "4AF873E4-B2FE-4504-BFF0-FC71121FC9A4"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_24h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26100.6899", "matchCriteriaId": "41E9F7AC-8E6D-43A0-A157-48A5E0B5BD0D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_11_25h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.26200.6899", "matchCriteriaId": "3B77A066-4F79-4B1F-AECF-58DB4C651EA5"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2022_23h2:*:*:*:*:*:*:*:*", "versionEndExcluding": "10.0.25398.1913", "matchCriteriaId": "370C12D6-90EF-44BE-8070-AA0080C12600"}, {"vulnerable": true, "criteria": "cpe:2.3:o:microsoft:windows_server_2025:*:*:*:*:*:*:*:*", "versionEndIncluding": "10.0.26100.6899", "matchCriteriaId": "CD6268EB-C42B-406F-B3FF-6E694F93BF41"}]}]}], "references": [{"url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-48004", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}