(0Day) Rockwell Automation ISaGRAF isasln File Parsing XML External Entity Processing Information Disclosure Vulnerability
The ISaGRAF application fails to restrict XML external entity references when parsing isasln files, allowing a crafted document to make the XML parser fetch a URI and embed its contents. An attacker could use this to disclose sensitive information in the context of the current process.
This vulnerability allows remote attackers to disclose sensitive information on affected installations of Rockwell Automation ISaGRAF. 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 isasln files does not disable external entity resolution, so it processes attacker-supplied entity references.
Impact
An attacker could disclose sensitive information in the context of the current process, but the target must first visit a malicious page or open a malicious file.
What the attacker needed
Victim opens a malicious isasln file; or victim visits a malicious page
The fix
The vulnerability should be fixed by disabling external entity processing in the XML parser, but the vendor has not provided a patch.
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 special instructions called external entities that tell the parser to fetch data from a web address or local file. If the parser is not told to ignore these, an attacker can craft a file that makes the program read and show sensitive files. This report shows that the ISaGRAF software does not block such instructions when opening isasln files.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.