(Pwn2Own) Triangle MicroWorks SCADA Data Gateway Workspace Unrestricted Upload Vulnerability
The workspace file handling in Triangle MicroWorks SCADA Data Gateway does not properly validate user-supplied data, so an attacker can upload arbitrary files. Combined with other vulnerabilities, this could let an attacker run code as root, though authentication is required and the existing authentication can be bypassed.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to upload arbitrary files 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 workspace file upload handler trusts user-supplied file content and type without validating it, and the authentication protecting it can be bypassed.
Impact
An attacker could upload arbitrary files and, chained with other vulnerabilities, execute arbitrary code as root; authentication is required but can be bypassed.
What the attacker needed
Network access to the product; authentication bypass for the existing auth
The fix
The vendor issued an update to correct the vulnerability.
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 program used to manage industrial control systems. Its workspace feature accepts files from users but does not check what those files are, so someone can upload files they should not be able to. If they also find another way in, they could take full control of the machine.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.