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

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.

Dimitrios Tatsis Follow

Originally disclosed on Cisco Talos

High 7.5 View original

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.

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 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

  1. Establish a connection to the DCERPC service on a vulnerable port.
  2. Send multiple association requests to fill the association group table.
  3. Trigger the allocation of a new association group by sending an 11th association request.
  4. Close the connection to free an association object while it remains in the group.
  5. 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.

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.