CVE-2023-24497 Cross-site scripting in MilesightVPN
An attacker can inject arbitrary JavaScript via crafted HTTP requests in Milesight VPN, potentially compromising user sessions or device integrity.
- 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-24497?
CVE-2023-24497 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 remote_subnet field of the database
Weakness: CWE-80
Which versions are affected by CVE-2023-24497?
It affects 1 product.
Products include O Milesight.
How do I fix CVE-2023-24497?
No fix has been published for CVE-2023-24497 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-24497 being exploited?
There is no known exploitation of CVE-2023-24497 in the wild and no public exploit code.
Sources
Also known as GHSA-7f4j-hqcw-f2vm.