Skip to content
XXE Advisory Intermediate CVE-2024-30043

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.

Piotr Bazydło Follow

Originally disclosed on Zero Day Initiative

High 7.1 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Microsoft SharePoint. Authentication is required to exploit this vulnerability.

Piotr Bazydlo (@chudypb) of Trend Micro Zero Day Initiative, on the Zero Day Initiative

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.

More by Piotr Bazydło

View all

232 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.