CVE-2022-41334 Cross-site scripting in FortiOS
Remote unauthenticated attackers can execute cross-site scripting attacks via the redir parameter in FortiOS login pages.
- 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-41334?
CVE-2022-41334 is a high-severity cross-site scripting vulnerability in Fortinet Fortios, published on 16 Feb 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
An improper neutralization of input during web page generation [CWE-79] vulnerability in FortiOS versions 7.0.0 to 7.0.7 and 7.2.0 to 7.2.3 may allow a remote, unauthenticated attacker to launch a cross site scripting (XSS) attack via the "redir" parameter of the URL seen when the "Sign in with FortiCloud" button is clicked.
Weakness: CWE-79
Which versions are affected by CVE-2022-41334?
It affects 1 product.
Products include Fortinet Fortios.
How do I fix CVE-2022-41334?
No fix has been published for CVE-2022-41334 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-41334 being exploited?
There is no known exploitation of CVE-2022-41334 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-9jfc-cmc5-x599.