Skip to content
RCE Advisory Advanced CVE-2022-31680

VMware vCenter Server Platform Services Controller Unsafe Deserialization vulnerability

The Platform Services Controller in VMware vCenter Server deserialises a Base64-encoded object from a URL path without validating its class, allowing an authenticated attacker to instantiate arbitrary classes and potentially execute remote code.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 8.7 View original

An unsafe deserialization vulnerability exists in the Platform Services Controller functionality of VMware vCenter Server 6.5 Update 3t. A specially-crafted HTTP request can lead to remote code execution.

Marcin 'Icewall' Noga, 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

The application deserialises user-controlled Base64 data using a generic object input stream without restricting which classes can be instantiated.

Impact

An authenticated attacker could execute arbitrary commands on the server, though the report only demonstrates class instantiation and does not show a full exploit chain.

What the attacker needed

Valid vCenter login credentials; network access to the vCenter server

The fix

The vulnerability was fixed by the vendor in a patch release.

How it was found

  1. Log in to vCenter to obtain a session cookie and XSRF token.
  2. Send a GET request to the /psc/data/constraint/ endpoint with a Base64-encoded serialised object in the URL path.
  3. Observe the server attempting to instantiate the supplied class in the psc logs.

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.

When a program turns stored data back into an object, it should only accept the expected type. Here, the server accepted any class name from the URL and tried to create it. An attacker with a valid login could send a crafted request to make the server run harmful code.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Marcin 'Icewall' Noga

View all

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

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.