CVE-2023-22319 SQL injection in MilesightVPN

High 7.3 Published Updated

SQL injection in Milesight VPN login allows attackers to bypass authentication via crafted network requests.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-22319?

CVE-2023-22319 is a high-severity SQL injection vulnerability in MilesightVPN, published on 6 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A sql injection vulnerability exists in the requestHandlers.js LoginAuth functionality of Milesight VPN v2.0.2. A specially-crafted network request can lead to authentication bypass. An attacker can send a malicious packet to trigger this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2023-22319?

It affects 1 product.

Products include Milesight Milesightvpn.

How do I fix CVE-2023-22319?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-22319 exists.

Sources

Also known as GHSA-m5cf-882p-58vh.

Is CVE-2023-22319 in your software?

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

Check your SBOMs for free