Skip to content
XXE Advisory Intermediate CVE-2019-0537

Microsoft Visual Studio vscontent XML External Entity Processing Information Disclosure Vulnerability

Microsoft Visual Studio improperly restricts XML External Entity (XXE) references when processing VSCONTENT files. An attacker could exploit this to disclose sensitive information in the context of the current user.

rgod of 9sg Security Team - [email protected] Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of Microsoft Visual 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

Impact

An attacker could disclose sensitive information in the context of the current user, but user interaction is required (the target must visit a malicious page or open a malicious file).

What the attacker needed

User opens a malicious VSCONTENT file; or user visits a malicious page

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.

This is an XML External Entity (XXE) vulnerability. When Visual Studio opens a VSCONTENT file, it uses an XML parser that can be tricked into fetching data from a URI and including it in the document. An attacker could craft a malicious file that causes the program to read local files or internal resources and expose their contents.

What is XXE?

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

More by rgod of 9sg Security Team - [email protected]

View all

54 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.