(Pwn2Own) Triangle MicroWorks SCADA Data Gateway Restore Workspace Directory Traversal Remote Code Execution Vulnerability
The Restore Workspace feature fails to validate a user-supplied path before using it in file operations, allowing a remote attacker to traverse directories. An attacker can bypass authentication and execute arbitrary code with SYSTEM privileges.
Originally disclosed on Zero Day Initiative
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 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
Likely the Restore Workspace feature accepts a user-supplied path and uses it in file operations without validating or restricting it to a safe directory.
Impact
A remote attacker could bypass authentication and execute arbitrary code with SYSTEM privileges on affected installations.
What the attacker needed
Authentication bypass; network access to the product
The fix
The vulnerability was fixed in version 5.01.02.
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.
This is a directory traversal bug in a SCADA product. The software takes a file path from the user and uses it without checking it, so an attacker can point it outside the intended folder and overwrite or place files. Because the attacker can also get past the login, they can run their own code on the machine as the highest-level system user.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.