Skip to content
XXE Advisory Intermediate CVE-2022-1331

Delta Industrial Automation DMARS DSCP Scope File Parsing XML External Entity Processing Information Disclosure Vulnerability

The DMARS application parses DSCP files with an XML parser that does not restrict external entity references. An attacker could craft a malicious file so that the parser fetches a URI and embeds its contents back into the document, disclosing files readable by the process.

kimiya Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Delta Industrial Automation DMARS. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

kimiya, 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

Root cause

The XML parser used for DSCP files resolves external entity references instead of disabling them.

Impact

An attacker could disclose sensitive files in the context of the current process, though the victim must first open a malicious file or visit a malicious page.

What the attacker needed

Victim opens a crafted DSCP file; or victim visits a malicious page

The fix

The vendor issued an update to correct the 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.

Some programs read files written in XML, a text format that can point to other resources by address. If the program follows those pointers without checking them, an attacker can make it fetch a file it should not share and place the contents where the attacker can see them. Here the target has to open a malicious file or visit a malicious page for this to work.

What is XXE?

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

More by kimiya

View all

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