Windows Network File System Remote Code Execution Vulnerability (CVE-2022-34715)
A flaw in the Windows Network File System version 4.0 service allowed an unauthenticated attacker to send a specially crafted network call and achieve remote code execution. Only servers with the NFS role enabled were exposed.
FAQ
How could an attacker exploit this vulnerability? This vulnerability could be exploited over the network by making an unauthenticated, specially crafted call to a Network File System (NFS) service to trigger a Remote Code Execution (RCE).
FAQ
What version of Network File System (NFS) is affected by this vulnerability? Servers that have Network File System version 4.0 (NFS 4.0) installed are affected by this vulnerability.
FAQ
I am running a supported version of Windows Server. Is my system vulnerable to this issue? This vulnerability is only exploitable for systems that have the NFS role enabled. See NFS Overview for more information on this feature. More information on installing or uninstalling Roles or Role Services is available here .
Windows Network File System
Windows Network File System
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely improper validation of specially crafted NFS 4.0 requests, allowing memory corruption that leads to code execution.
Impact
An unauthenticated attacker on the network could run arbitrary code on servers with the NFS role enabled, though systems without that role were not exploitable.
What the attacker needed
Target runs Windows Server with NFS 4.0; attacker can reach the NFS service over the network; no authentication needed
The fix
Microsoft marked customer action as required, meaning the affected servers should be patched or have the NFS role disabled.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Network File System is a Windows feature that lets other machines read and write files over the network, a bit like a shared folder. This bug meant that someone on the network could send a malformed request to that service without logging in and make the server run their code. Only servers that had turned the NFS feature on were at risk.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.