Microsoft Exchange DumpDataReader Deserialization of Untrusted Data Arbitrary File Write Vulnerability
The DumpDataReader class in Microsoft Exchange does not properly validate user-supplied data before deserialisation, allowing an authenticated attacker to write arbitrary files. This could be chained with other vulnerabilities to execute code as SYSTEM.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create arbitrary files on affected installations of Microsoft Exchange. Authentication is required to exploit this vulnerability.
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 DumpDataReader class deserialises untrusted input without validating it, allowing an attacker to control the objects created.
Impact
An authenticated attacker could write arbitrary files and, by combining this with other flaws, potentially execute code as SYSTEM.
What the attacker needed
Authentication required
The fix
Microsoft issued an update to correct this vulnerability.
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.
Deserialisation is when a program turns stored data back into objects. If it does that with data an attacker controls, the attacker can sometimes make the program create files or run code. Here, a logged-in user could abuse this to write files on the Exchange server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.