CVE-2022-38374 Cross-site scripting in Fortinet FortiADC
An attacker can execute unauthorized code via XSS in FortiADC log views, potentially compromising the application security.
- 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-2022-38374?
CVE-2022-38374 is a high-severity cross-site scripting vulnerability in Fortinet FortiADC, published on 2 Nov 2022. 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
A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiADC 7.0.0 - 7.0.2 and 6.2.0 - 6.2.4 allows an attacker to execute unauthorized code or commands via the URL and User fields observed in the traffic and event logviews.
Weakness: CWE-79
Which versions are affected by CVE-2022-38374?
It affects 1 product.
Products include Fortinet Fortiadc.
How do I fix CVE-2022-38374?
No fix has been published for CVE-2022-38374 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-2022-38374 being exploited?
There is no known exploitation of CVE-2022-38374 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Fortinet FortiADC
Sources
Also known as GHSA-4h7x-gvv2-wxvc.