SRC-2020-0031 : Microsoft Exchange Server EWS RouteComplaint ParseComplaintData XML External Entity Processing Information Disclosure Vulnerability
The Exchange Server EWS service fails to properly validate user-supplied XML in RouteComplaint SOAP requests, allowing an authenticated attacker to disclose information. The attacker can leverage this to read files in the context of SYSTEM.
srcincite.io
Published on srcincite.io
This vulnerability allows remote attackers to disclose information on affected installations of Exchange Server. 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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the XML parser used for RouteComplaint SOAP requests does not disable external entity resolution, allowing an attacker to inject malicious entity definitions.
Impact
An authenticated attacker could disclose sensitive information from the server, potentially with SYSTEM privileges.
What the attacker needed
Authentication required; Access to EWS endpoint
The fix
Microsoft has 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 write-up has not been written yet. The Original tab links to the source.
This is an XML External Entity (XXE) vulnerability. When a server processes XML input, it may allow special instructions that reference external files. Here, an authenticated user can send a crafted SOAP request to the Exchange Web Services endpoint, and the server will read local files and return their contents, potentially as the SYSTEM account.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.