Microsoft SharePoint BaseXmlDataSource XML External Entity Processing Information Disclosure Vulnerability
The BaseXmlDataSource class in Microsoft SharePoint fails to restrict XML External Entity (XXE) references, allowing a crafted document to make the XML parser access a URI and embed its contents. An authenticated attacker could exploit this to disclose sensitive information in the context of the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Microsoft SharePoint. 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
Impact
An authenticated attacker could disclose sensitive information in the context of the service account.
What the attacker needed
Authentication required
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 report has not been written yet. The Original tab links to the source.
XML documents can include special instructions called entities that pull in content from other places. If a program processes XML without blocking these external references, an attacker can trick it into reading local files or internal resources. Here, an authenticated user could make SharePoint read and return sensitive data.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.