VMware vCenter DCERPC Improper calculation of authentication trailer pointer
A memory corruption vulnerability in VMware vCenter's DCERPC implementation allows an attacker to send a crafted packet that causes an out-of-bounds write via a byte-swap operation on a function pointer. This could lead to code execution or a crash.
Originally disclosed on Cisco Talos
A memory corruption vulnerability exists in the DCERPC functionality of VMware vCenter Server 7.0.3.01000. A specially crafted network packet can lead to an out-of-bounds write.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 the authentication trailer pointer is calculated without proper bounds checking, allowing it to point before the start of the packet buffer and perform a byte-swap on arbitrary memory.
Impact
An attacker could potentially achieve code execution or cause a denial of service by crashing the service.
What the attacker needed
Network access to the service (e.g., local network)
The fix
The vendor provided an advisory and fixes.
How it was found
- Craft a DCERPC packet header with a specific auth_len value (e.g., 0x10) and frag_len set to 0.
- Set the packet type to one that reaches the vulnerable code path, such as ALTER_CONTEXT or BIND.
- Send the packet to the target service (e.g., vmcad on port 2014).
- The server calculates the authentication trailer pointer and performs a byte-swap on the key_id field, corrupting a function pointer.
- When the function pointer is later called, it causes a crash or potentially code execution.
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.
This report describes a bug in VMware vCenter, a tool for managing virtual machines. The bug is in how it handles network messages: a specially crafted message can trick the software into writing to the wrong place in memory, which could let an attacker run their own code or crash the system.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.