Skip to content
RCE Write-up Advanced

A GUID is Not a Credential: Unauthenticated RCE in Veeam Service Provider Console

Veeam Service Provider Console trusted a GUID in a self-signed certificate to decide whether a peer was an authenticated agent, so an unauthenticated attacker could obtain a real agent certificate. A second flaw let any agent certificate write files to arbitrary paths, and chained together they gave unauthenticated remote code execution on the management server.

bishopfox.com

Published on bishopfox.com

On August 4, 2026, Veeam published KB4893, covering four vulnerabilities in Veeam Service Provider Console (VSPC). All four affect 9.2.1.33875 and every earlier version 9 build.

The author, on bishopfox.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The login check looked up a process-global table by a GUID taken from the peer's own certificate and never tied the result to the certificate presented on the current connection, while weak certificate validation accepted any self-signed certificate.

Impact

An unauthenticated attacker could obtain a durable agent certificate and, chained with the file write, achieve remote code execution on the management server that controls backups for every tenant, though the attack requires network reach to the agent port and a currently logged-in agent.

What the attacker needed

Network path to TCP/9999; an agent currently logged in; knowledge of a connected agent's GUID; vulnerable version 9.2.1 or earlier

The fix

It was fixed in 9.3.0 by requiring the connection's own certificate thumbprint to match the logged-in agent and by removing the file-save method outright, confining remaining writes to allowlisted folders.

How it was found

  1. Learn a connected agent's GUID, either from the wire because TLS 1.2 sends the client certificate before the cipher change, or from the registry and logs readable by ordinary users on a managed machine.
  2. Generate a self-signed certificate carrying that agent's identifiers, connect to the agent port, and complete the handshake so the channel comes up with no authorization layer.
  3. Call the certificate dispatcher to receive a real PKCS#12 bundle and password issued by the console's agent root CA.
  4. Open a new connection with the stolen certificate, authenticate as a legitimate agent, and call the file-save method with a rooted destination path.
  5. Write a page into the IIS web root and request it to confirm code execution as the application pool identity.

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 write-up has not been written yet. The Original tab links to the source.

The console is a central server that manages backup software on many customers' machines. It decided whether a connecting machine was a trusted agent by checking only an identifier (a GUID, a long random-looking string) that the connecting machine itself supplied, rather than checking the certificate it presented. Because that identifier is easy to learn, an attacker could pretend to be a real agent, get a genuine certificate, and then use a file-upload feature to write files anywhere on the server, including the web root, which led to running code.

What is RCE?

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

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.