CVE-2021-37197 SQL injection in COMOS V10.2
An attacker can execute arbitrary SQL statements in Siemens COMOS if web components are enabled, potentially compromising data integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-37197?
CVE-2021-37197 is a high-severity SQL injection vulnerability in Siemens COMOS V10.2, published on 11 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been identified in COMOS V10.2 (All versions only if web components are used), COMOS V10.3 (All versions < V10.3.3.3 only if web components are used), COMOS V10.4 (All versions < V10.4.1 only if web components are used). The COMOS Web component of COMOS is vulnerable to SQL injections. This could allow an attacker to execute arbitrary SQL statements.
Weakness: CWE-89
Which versions are affected by CVE-2021-37197?
It affects 1 product.
Products include Siemens Comos.
How do I fix CVE-2021-37197?
No fix has been published for CVE-2021-37197 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2021-37197 being exploited?
There is no known exploitation of CVE-2021-37197 in the wild and no public exploit code.
Other vulnerabilities in Siemens COMOS V10.2
Sources
Also known as GHSA-v3m2-hfqm-f87x.