Skip to content
RCE Advisory Intermediate CVE-2018-18992

LAquis SCADA Web Server relatorioindividual TAG Command Injection Remote Code Execution Vulnerability

The LAquis SCADA web server fails to sanitise user-supplied data in the TAG element processed by relatorioindividual.lhtml, allowing an unauthenticated remote attacker to inject an arbitrary script. An attacker could leverage this to execute code in the context of the aq process.

Esteban Ruiz Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of LAquis SCADA Software. Authentication is not required to exploit this vulnerability.

Esteban Ruiz (mr_me) of Source Incite, 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 report handler passes the TAG element value into a command or script interpreter without sanitising or escaping it.

Impact

An unauthenticated remote attacker could execute arbitrary code in the context of the aq process, though the text gives no further detail on constraints.

What the attacker needed

Network access to the web server; no authentication required

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. This report says a part of its web server that builds a report takes input from the network without cleaning it first, so someone on the network could slip in their own commands. Because no login is needed, anyone who can reach the service could try it, and the commands would run with the same rights as the program itself.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Esteban Ruiz

View all

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

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.