Code execution via unvalidated LGX report paths
Published May 21, 2024 · Updated Aug 1, 2024
Path traversal in LCDS LAquis SCADA 4.7.1.7 and earlier allows remote attackers to execute code through a malicious LGX report. The LGX processor passes attacker-controlled paths to Table.Save, STRING file methods, File.Open, TextFile methods, and AddComboFile without restricting file access to the project directory. A target must visit a malicious page or open a malicious file; exploitation runs code as the current user, while one path reads process-accessible files.
Summary
What happened
Path traversal in LCDS LAquis SCADA 4.7.1.7 and earlier allows remote attackers to execute code through a malicious LGX report. The LGX processor passes attacker-controlled paths to Table.Save, STRING file methods, File.Open, TextFile methods, and AddComboFile without restricting file access to the project directory. A target must visit a malicious page or open a malicious file; exploitation runs code as the current user, while one path reads process-accessible files.
The record
- CVE
- CVE-2024-5040
- Published
- May 21, 2024
- Updated
- Aug 1, 2024
- Vendor
- LCDS - Leão Consultoria e Desenvolvimento de Sistemas Ltda ME
- Product
- LAquis SCADA
- Classifications
- CWE-22, T1204.002, T1203
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 1, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=*
- Affected versionversion=0 <=4.7.1.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo