Skip to content
Memory corruption Advisory Advanced CVE-2023-20894

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.

Dimitrios Tatsis Follow

Originally disclosed on Cisco Talos

High 8.1 View original

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.

Dimitrios Tatsis, on Cisco Talos

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

  1. Craft a DCERPC packet header with a specific auth_len value (e.g., 0x10) and frag_len set to 0.
  2. Set the packet type to one that reaches the vulnerable code path, such as ALTER_CONTEXT or BIND.
  3. Send the packet to the target service (e.g., vmcad on port 2014).
  4. The server calculates the authentication trailer pointer and performs a byte-swap on the key_id field, corrupting a function pointer.
  5. 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.

More by Dimitrios Tatsis

View all

21 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.