CVE-2021-21937 SQL injection in Advantech

High 7.7 Published Updated

An attacker can execute SQL commands via a crafted HTTP request in the host_alt_filter parameter, potentially accessing or modifying database contents.

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-21937?

CVE-2021-21937 is a high-severity SQL injection vulnerability in Advantech, published on 22 Dec 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A specially-crafted HTTP request can lead to SQL injection. An attacker can make authenticated HTTP requests to trigger this vulnerability at ‘host_alt_filter’ parameter. This can be done as any authenticated user or through cross-site request forgery.

Weakness: CWE-89

Which versions are affected by CVE-2021-21937?

It affects 1 product.

Products include Advantech R-Seenet.

How do I fix CVE-2021-21937?

No fix has been published for CVE-2021-21937 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-21937 being exploited?

There is no known exploitation of CVE-2021-21937 in the wild and no public exploit code.

Sources

Also known as GHSA-7r2g-h6w6-6w7r.

Is CVE-2021-21937 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free