Skip to content
RCE Write-up Advanced

February Fortinet Advisory: everything you need to know

Two critical vulnerabilities in Fortinet's FortiOS and FortiProxy allow remote unauthenticated attackers to execute arbitrary code or commands. CVE-2024-21762 is reportedly being exploited in the wild.

Amitai Cohen Follow

Published on wiz.io

CVE-2024-21762 and CVE-2024-23113 are critical vulnerabilities in Fortinet's FortiOS and FortiProxy; they received a CVSS score of 9.6 and 9.8, respectively. Both vulnerabilities could allow a remote unauthenticated attacker to execute arbitrary code or commands, and CVE-2024-21762 is reportedly being exploited in the…

Amitai Cohen, on wiz.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

CVE-2024-21762 stems from improper parameter validation leading to a buffer overflow, while CVE-2024-23113 is a format string vulnerability in the fgfmd daemon.

What the attacker needed

Network access to the vulnerable service; no authentication required

The fix

Fortinet recommends upgrading to the patched versions listed in the advisory; if patching is not possible, disabling SSL VPN or removing FGFM access can mitigate the issues.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

These are two serious security flaws in Fortinet's firewall and VPN products. One lets an attacker send a specially crafted request that overflows a memory buffer, and the other lets them send a request that is misinterpreted as a command. Both can lead to an attacker running their own code on the device without needing to log in.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Amitai Cohen

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.