CVE-2023-24496 Cross-site scripting in MilesightVPN

Medium 4.7 Published Updated

An attacker can inject arbitrary JavaScript via the device name field in Milesight VPN, potentially leading to code execution or security bypass.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-24496?

CVE-2023-24496 is a medium-severity cross-site scripting vulnerability in MilesightVPN, published on 6 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (xss) vulnerabilities exist in the requestHandlers.js detail_device functionality of Milesight VPN v2.0.2. A specially-crafted HTTP request can lead to arbitrary Javascript code injection. An attacker can send an HTTP request to trigger these vulnerabilities.This XSS is exploited through the name field of the database.

Weakness: CWE-80

Which versions are affected by CVE-2023-24496?

It affects 1 product.

Products include Milesight Milesightvpn.

How do I fix CVE-2023-24496?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-24496 being exploited?

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

Sources

Also known as GHSA-x58f-rjp3-rh75.

Is CVE-2023-24496 in your software?

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

Check your SBOMs for free