VMware vCenter Server DCERPC save_sec_fragment out-of-bounds pointer vulnerability
An out-of-bounds pointer calculation in VMware vCenter Server's DCERPC service allows an attacker to craft a packet that makes the service read memory outside the intended buffer and use it as authentication data. This could lead to authentication bypass if combined with heap grooming.
Originally disclosed on Cisco Talos
A memory corruption vulnerability with a potential for authentication bypass exists in the DCERPC service as used by VMware vCenter Server 8.0.0.10200. A specially crafted network packet can lead to out-of-bounds memory access, which can lead to further memory corruption.
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
The code calculates the authentication trailer pointer using client-supplied frag_len and auth_len without validating that the resulting pointer stays within the received packet buffer.
Impact
An attacker could cause out-of-bounds memory reads and, with heap grooming, potentially bypass authentication.
What the attacker needed
Network access to the DCERPC service
The fix
The vendor provided an advisory and fixes.
How it was found
- Set the drep flag to 0x10000000 to skip the earlier authentication trailer vulnerability.
- Set frag_len to 0 and auth_len to 0x900 in the packet header.
- Set ptype to 0xb to make it a bind packet.
- Send the header followed by 0x1000 bytes of zeroes to the service.
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 flaw in how a VMware vCenter service handles network packets. The service calculates where to find authentication data using numbers from the packet without checking if those numbers make sense, so an attacker can make it read from the wrong place in memory. That could let an attacker trick the service into accepting them without proper login.
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.