(Pwn2Own) Triangle MicroWorks SCADA Data Gateway GTWWebMonitorService Unquoted Search Path Remote Code Execution Vulnerability

August 4th, 2023

Vulnerability Details

This vulnerability allows remote attackers to execute 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 configuration of the GTWWebMonitorService service. The path to the service executable contains spaces not surrounded by quotations. An attacker can leverage this vulnerability to execute arbitrary code in the context of root.

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-22 - Vulnerability reported to vendor
  • 2023-08-04 - Coordinated public release of advisory

Credit

Team ECQ

Back to Advisories