CVE-2023-22371 Command injection in MilesightVPN

High 8.1 Published Updated

An attacker can execute arbitrary commands on Milesight VPN servers by sending a specially crafted network request to the private key creation function.

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

CVE-2023-22371 is a high-severity command 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

An os command injection vulnerability exists in the liburvpn.so create_private_key functionality of Milesight VPN v2.0.2. A specially-crafted network request can lead to command execution. An attacker can send a malicious packet to trigger this vulnerability.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2023-22371?

It affects 1 product.

Products include Milesight Milesightvpn.

How do I fix CVE-2023-22371?

No fix has been published for CVE-2023-22371 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-22371 being exploited?

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

Sources

Also known as GHSA-x4wh-ccmq-r3hv.

Is CVE-2023-22371 in your software?

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

Check your SBOMs for free