Skip to content
File upload Advisory Intermediate CVE-2020-10618

LAquis SCADA LGX File Insufficient UI Warning Arbitrary File Creation Vulnerability

An LGX file opened in LAquis SCADA can trigger the TextFile.Append method without the interface warning the user about the unsafe action. An attacker could use this to create arbitrary files and then execute code in the context of the current process.

Natnael Samson 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 LAquis SCADA. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

Natnael Samson (@NattiSamson), 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 LGX file handler calls the TextFile.Append method on attacker-controlled input without prompting the user to confirm the unsafe file operation.

Impact

An attacker could create arbitrary files and execute code in the context of the current process, but the victim must first open a malicious page or file.

What the attacker needed

Victim opens a malicious LGX file; victim visits a malicious page

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.

SCADA software is used to monitor and control industrial equipment. A file format used by this program can make it write files to the computer without asking the user first. Because the program does not warn the user, a booby-trapped file can quietly place files that later run code on 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 Natnael Samson

View all

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