LAquis SCADA lqs File Parsing Out-Of-Bounds Read Information Disclosure Vulnerability
The LQS file parser in LAquis SCADA does not properly validate user-supplied data, causing a read before an allocated buffer. A remote attacker could disclose sensitive information by getting a victim to open a malicious file or visit a malicious page.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to disclose sensitive information on vulnerable installations of LAquis SCADA Software. 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 LQS parser trusts a length or offset field in the file and reads before the start of its buffer without checking the value first.
Impact
An attacker could disclose sensitive information, and the text notes this could be combined with other vulnerabilities to execute code in the context of the current process.
What the attacker needed
Victim opens a malicious LQS file; or 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.
A program that reads a file keeps a reserved area of memory for the data it loads. This bug lets a crafted file make the program read from just before that area, so bytes it should never show can leak out. The attacker needs the victim to open the file or visit a page that triggers it.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.