VMWare vCenter Server DCERPC association groups use-after-free vulnerability
A use-after-free vulnerability in VMware vCenter Server's DCERPC library allows a remote attacker to trigger memory corruption by sending crafted network packets, potentially leading to arbitrary code execution.
Originally disclosed on Cisco Talos
A use-after-free vulnerability exists in the library supporting DCERPC functionality in VMWare vCenter Server 7.0.3.01000. A series of specially crafted network packets trigger a use-after-free condition which can lead to memory corruption and arbitrary code execution.
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 association object is freed without being removed from its association group, leaving a dangling pointer that is later dereferenced when the group table is reallocated.
Impact
A remote attacker could trigger memory corruption, potentially leading to arbitrary code execution, though the CVSS vector indicates high attack complexity and low privileges required.
What the attacker needed
Network access to DCERPC ports; low privileges
The fix
The vendor provided an advisory and fixes.
How it was found
- Establish a connection to the DCERPC service on a vulnerable port.
- Send multiple association requests to fill the association group table.
- Trigger the allocation of a new association group by sending an 11th association request.
- Close the connection to free an association object while it remains in the group.
- Send another association request to cause the group table to be reallocated and the dangling pointer to be written to.
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 memory safety bug in VMware vCenter Server. When the server handles network connections, it sometimes frees memory but keeps a pointer to it; later, it writes to that freed memory, which can crash the server or let an attacker run their own code. The attacker needs to send specially timed network packets to trigger the bug.
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.