CVE-2024-31495 SQL injection in FortiPortal

Low 3.9 Published Updated

Privileged users can exploit SQL injection in FortiPortal report downloads to access unauthorized information.

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-2024-31495?

CVE-2024-31495 is a low-severity SQL injection vulnerability in Fortinet FortiPortal, published on 11 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A improper neutralization of special elements used in an sql command ('sql injection') in Fortinet FortiPortal versions 7.0.0 through 7.0.6 and version 7.2.0 allows privileged user to obtain unauthorized information via the report download functionality.

Weakness: CWE-89

Which versions are affected by CVE-2024-31495?

It affects 1 product.

Products include Fortinet Fortiportal.

How do I fix CVE-2024-31495?

No fix has been published for CVE-2024-31495 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-2024-31495 being exploited?

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

Sources

Also known as GHSA-vh49-h943-v4wx.

Is CVE-2024-31495 in your software?

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

Check your SBOMs for free