RPC Network Data Representation Engine Remote Code Execution Vulnerability (CVE-2016-0178)
The Windows RPC Network Data Representation engine improperly frees memory when handling specially crafted RPC requests. An authenticated attacker could send malformed RPC requests to an affected host and execute arbitrary code with the victim system's privileges.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in the way Microsoft Windows handles specially crafted Remote Procedure Call (RPC) requests. The remote code execution can occur when the RPC Network Data Representation (NDR) Engine improperly frees memory. An authenticated attacker who successfully exploited this vulnerability could execute arbitrary code and take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. An authenticated attacker could exploit the vulnerability by making malformed RPC requests to an affected host. The update addresses this vulnerability by modifying the way that Microsoft Windows handles RPC messages.
FAQ
Why is security update 3153171 in this bulletin also denoted in MS16-060? Security update 3153171 is also denoted in MS16-060 for supported releases of Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2, due to the way fixes for vulnerabilities affecting particular products are consolidated. Because bulletins are broken out by the vulnerabilities being addressed, not by the update package being released, it is possible for separate bulletins, each addressing distinctly different vulnerabilities, to list the same update package as the vehicle for providing their respective fixes. This is frequently the case with cumulative updates for products, such as Internet Explorer or Silverlight, where singular security updates address different security vulnerabilities in separate bulletins. Note : Users do not need to install identical security updates that ship with multiple bulletins more than once.
Microsoft RPC
Microsoft RPC
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 a memory management flaw in the RPC NDR engine that frees memory incorrectly when parsing crafted RPC requests.
Impact
An authenticated attacker could execute arbitrary code and take full control of the affected system, though the text does not describe a working exploit.
What the attacker needed
Authenticated access to the target host; ability to send RPC requests to the host
The fix
The vulnerability was fixed by an update that modifies the way Microsoft Windows handles RPC messages.
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.
Remote Procedure Call (RPC) is a way for programs on different machines to ask each other to run functions. Here, the part of Windows that translates data between those machines mishandled memory when cleaning it up, so a logged-in attacker could send a malformed request and run their own code on the target. The fix changes how Windows processes those RPC messages.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.