Microsoft Exchange Validation Key Remote Code Execution Vulnerability (CVE-2020-0688)
Microsoft Exchange Server failed to create unique validation keys during installation, so an authenticated user with a mailbox could use a known key to send arbitrary objects for deserialisation by the web application, which runs as SYSTEM. This could allow remote code execution.
Anonymous working with Trend Micro's Zero Day Initiative Follow
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in Microsoft Exchange Server when the server fails to properly create unique keys at install time. Knowledge of a the validation key allows an authenticated user with a mailbox to pass arbitrary objects to be deserialized by the web application, which runs as SYSTEM. The security update addresses the vulnerability by correcting how Microsoft Exchange creates the keys during install.
Microsoft Exchange Server
Microsoft Exchange Server
Microsoft
Microsoft
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 installer used a static or predictable validation key instead of generating a unique random key per installation, enabling deserialisation of attacker-controlled objects.
Impact
An authenticated user with a mailbox could achieve remote code execution as SYSTEM, though the text does not state whether this was demonstrated in practice.
What the attacker needed
Authenticated user with a mailbox; knowledge of the validation key
The fix
The vulnerability was fixed by a security update that corrects how Microsoft Exchange creates the keys during installation.
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 Exchange is installed, it is supposed to generate a secret key that is unique to that installation. Here, the key was not unique, so someone who knows it can send specially crafted data to the server. The server then processes that data in a way that can let the attacker run their own commands with high privileges.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.