Advisory Details

August 4th, 2023

(Pwn2Own) Triangle MicroWorks SCADA Data Gateway Trusted Certification Unrestricted Upload of File Remote Code Execution Vulnerability

ZDI-23-1031
ZDI-CAN-20537

CVE ID CVE-2023-39463
CVSS SCORE 7.2, AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Triangle MicroWorks
AFFECTED PRODUCTS SCADA Data Gateway
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Triangle MicroWorks SCADA Data Gateway. Although authentication is required to exploit this vulnerability, the existing authentication mechanism can be bypassed.

The specific flaw exists within the trusted certification feature. The issue lies in the handling of the OpcUaSecurityCertificateAuthorityTrustDir variable, which allows an arbitrary file write with attacker-controlled data. An attacker can leverage this vulnerability to execute code in the context of SYSTEM.

ADDITIONAL DETAILS Triangle MicroWorks has issued an update to correct this vulnerability. More details can be found at:
https://www.trianglemicroworks.com/products/scada-data-gateway/what's-new
DISCLOSURE TIMELINE
  • 2023-02-24 - Vulnerability reported to vendor
  • 2023-08-04 - Coordinated public release of advisory
CREDIT Team ECQ
BACK TO ADVISORIES