CVE-2021-32602 Cross-site scripting in Fortinet FortiPortal
Remote unauthenticated attackers can execute cross-site scripting attacks via crafted requests in FortiPortal, potentially leading to session hijacking or malicious code execution.
- 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-2021-32602?
CVE-2021-32602 is a medium-severity cross-site scripting vulnerability in Fortinet FortiPortal, published on 18 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An improper neutralization of input during web page generation vulnerability (CWE-79) in FortiPortal GUI 6.0.4 and below, 5.3.6 and below, 5.2.6 and below, 5.1.2 and below, 5.0.3 and below, 4.2.2 and below, 4.1.2 and below, 4.0.4 and below may allow a remote and unauthenticated attacker to perform an XSS attack via sending a crafted request with an invalid lang parameter or with an invalid org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE value.
Weakness: CWE-79
Which versions are affected by CVE-2021-32602?
It affects 1 product.
Products include Fortinet Fortiportal.
How do I fix CVE-2021-32602?
No fix has been published for CVE-2021-32602 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-2021-32602 being exploited?
There is no known exploitation of CVE-2021-32602 in the wild and no public exploit code.
Other vulnerabilities in Fortinet FortiPortal
Sources
Also known as GHSA-525v-wrc2-rphr.