Advisory Details

July 9th, 2020

(0Day) (Pwn2Own) Rockwell Automation Studio 5000 AML File Parsing XML External Entity Processing Information Disclosure Vulnerability

ZDI-20-824
ZDI-CAN-10290

CVE ID CVE-2020-12025
CVSS SCORE 3.3, (AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N)
AFFECTED VENDORS Rockwell Automation
AFFECTED PRODUCTS Studio 5000
VULNERABILITY DETAILS

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Rockwell Automation Studio 5000. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the parsing of AML files. Due to the improper restriction of XML External Entity (XXE) references, a specially crafted document specifying a URI causes the XML parser to access the URI and embed the contents back into the XML document for further processing. An attacker can leverage this vulnerability to disclose information in the context of the current process.

ADDITIONAL DETAILS

This vulnerability is being disclosed publicly without a patch in accordance with the ZDI 120 day deadline.

01/22/20 – ZDI disclosed the report to the vendor onsite at Pwn2Own at S4
01/30/20 – The vendor requested an extension and ZDI offered a 10-day extension
04/29/20 – ZDI requested an update
04/30/20 – ZDI provided an additional extension (due to Covid-19 quarantine)
06/02/20 – All parties agreed to provide the materials to ICS-CERT
06/02/20 – The vendor advised ZDI the advisory release would be 06/26/20
06/26/20 – The vendor advised ZDI they would miss the date and ZDI agreed to coordinate a 0-day advisory

-- Mitigation:
Rockwell's recommendation: Rockwell Automation customers using AML or RDF files should not accept files from unknown sources and remain cautious of social engineering attempts that may take advantage of this vulnerability


DISCLOSURE TIMELINE
  • 2020-01-30 - Vulnerability reported to vendor
  • 2020-07-09 - Coordinated public release of advisory
CREDIT Chris Anastasio (muffin) and Steven Seeley (mr_me) of Incite Team
BACK TO ADVISORIES