CVE-2024-35278 SQL injection in FortiPortal

Medium 4.1 Published Updated

An authenticated attacker can view server-side SQL queries by injecting special elements into 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-2024-35278?

CVE-2024-35278 is a medium-severity SQL injection vulnerability in Fortinet FortiPortal, published on 14 Jan 2025. 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.2.4 through 7.2.0 and 7.0.0 through 7.2.8 may allow an authenticated attacker to view the SQL query being run server-side when submitting an HTTP request, via including special elements in said request.

Weakness: CWE-89

Which versions are affected by CVE-2024-35278?

It affects 1 product.

Products include Fortinet Fortiportal.

How do I fix CVE-2024-35278?

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

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

Sources

Also known as GHSA-v729-w778-vqwm.

Is CVE-2024-35278 in your software?

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

Check your SBOMs for free