CVE-2021-32590 SQL injection in Fortinet FortiPortal

Critical 9.9 Published Updated

An attacker with regular user privileges can execute arbitrary SQL commands on the database via crafted HTTP requests in FortiPortal.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-32590?

CVE-2021-32590 is a critical SQL injection vulnerability in Fortinet FortiPortal, published on 4 Aug 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple improper neutralization of special elements used in an SQL command vulnerabilities in FortiPortal 6.0.0 through 6.0.4, 5.3.0 through 5.3.5, 5.2.0 through 5.2.5, and 4.2.2 and earlier may allow an attacker with regular user's privileges to execute arbitrary commands on the underlying SQL database via specifically crafted HTTP requests.

Weakness: CWE-89

Which versions are affected by CVE-2021-32590?

It affects 1 product.

Products include Fortinet Fortiportal.

How do I fix CVE-2021-32590?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-32590 being exploited?

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

Sources

Also known as GHSA-cfm8-ggjg-q9mj.

Is CVE-2021-32590 in your software?

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

Check your SBOMs for free