LAquis SCADA LGX File Insufficient UI Warning Arbitrary File Creation Vulnerability
The LAquis SCADA software fails to warn users when opening LGX files that contain unsafe actions, specifically within the TextFile.Write method. An attacker could exploit this to create arbitrary files and potentially execute code in the context of the current user.
Originally disclosed on Zero Day Initiative
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.
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 application does not properly validate or warn about unsafe file operations when processing LGX files, allowing arbitrary file creation.
Impact
An attacker could create arbitrary files and potentially execute code in the context of the current user, but user interaction is required.
What the attacker needed
Victim opens a malicious LGX file
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 report describes a flaw in LAquis SCADA, a program used to control industrial systems. When a user opens a special file (LGX), the program does not warn that the file might perform dangerous actions, such as writing files to the computer. An attacker could trick a user into opening such a file, leading to unauthorised file creation and possibly code execution.
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.