Skip to content
File upload Advisory Advanced CVE-2023-39462

(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.

Noam Moshe Follow

Originally disclosed on Zero Day Initiative

Medium 6.5 View original

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.

Claroty Research - Team82 - Uri Katz, Noam Moshe, Vera Mens, Sharon Brizinov, on the Zero Day Initiative

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.

More by Noam Moshe

View all

17 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.