Skip to content
Path traversal Advisory Intermediate CVE-2023-39459

Triangle MicroWorks SCADA Data Gateway Directory Traversal Arbitrary File Creation Vulnerability

The SCADA Data Gateway fails to validate a user-supplied path when processing workspace files, allowing an attacker to create arbitrary files. An attacker could exploit this to create files with Administrator privileges, but the victim must visit a malicious page or open a malicious file.

JianTao Li Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows remote attackers to create arbitrary files on affected installations of Triangle MicroWorks SCADA Data Gateway. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

Li Jiantao, Ngo Wei Lin, Pan Zhenpeng of STAR Labs SG Pte. Ltd., 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

Impact

An attacker could create arbitrary files with Administrator privileges, but the victim must first visit a malicious page or open a malicious file.

What the attacker needed

Victim opens a malicious file or page; target runs SCADA Data Gateway

The fix

The vendor has issued an update to correct this 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 directory traversal bug: the software takes a file path from a workspace file without checking it, so an attacker can trick it into writing files anywhere. The attacker needs the victim to open a malicious file or visit a malicious page, and then files can be created with high privileges.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

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.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.