(0Day) Delta Industrial Automation DRAS Project File Parsing XML External Entity Processing Information Disclosure Vulnerability
The DRAS application parses project files as XML without restricting external entity references, so a crafted document can make the parser fetch a URI and embed its contents back into the document. An attacker could use this to disclose files readable by the process, though the victim must open a malicious file or visit a malicious page.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Delta Industrial Automation DRAS. 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 DRAS project files resolves external entity references instead of disabling them.
Impact
An attacker could disclose files in the context of the current process, but exploitation requires the target to visit a malicious page or open a malicious file, and no patch was available at disclosure.
What the attacker needed
Victim opens a malicious file; victim visits a malicious page
The fix
The XML parser should be configured to disallow external entity and DTD processing; the text notes no patch was released and only recommends restricting interaction with the application.
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 in a format called XML, which can include references to other resources. If the program follows those references without checking them, an attacker can point them at a file on the victim's machine and have its contents shown back. Here, opening a booby-trapped project file could leak sensitive files to the attacker.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.