Microsoft SQL Server Management Studio xel File XML External Entity Processing Information Disclosure Vulnerability
Microsoft SQL Server Management Studio improperly restricts XML external entity references when handling XEL files. An attacker could craft a malicious XEL file that causes the XML parser to access a URI and embed its contents, disclosing sensitive information in the context of the current process.
John Page - ApparitionSec Follow
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Microsoft SQL Server Management Studio. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
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
The XML parser used for XEL files does not disable external entity resolution, allowing an attacker-controlled URI to be fetched and embedded.
Impact
An attacker could disclose sensitive information in the context of the current process, but user interaction (opening a malicious file or visiting a malicious page) is required.
What the attacker needed
Victim opens a malicious XEL file; or visits a malicious page
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.
XML files can include references to external entities, which are like placeholders that pull in content from elsewhere. If a program parses such a file without blocking these references, an attacker can make it read local files or internal resources and include their contents in the output. Here, opening a malicious XEL file in SQL Server Management Studio could leak sensitive data.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.