Skip to content
RCE Write-up Advanced

Burning Zero Days: FortiJump FortiManager vulnerability used by nation state

A vulnerability in FortiManager's FGFM protocol allows any device with a valid certificate to register as a managed FortiGate, and then achieve remote code execution on the FortiManager. Attackers could then manage downstream firewalls, view configs, steal credentials, and alter configurations, potentially entering internal networks.

doublepulsar.com

Published on doublepulsar.com

Did you know there’s widespread exploitation of FortiNet products going on using a zero day, and that there’s no CVE? Now you do.

Kevin Beaumont, on doublepulsar.com

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

Likely the FGFM protocol allows any device with a valid certificate to register automatically, and a vulnerability in the registration process enables remote code execution.

Impact

An attacker could execute code on the FortiManager, then manage downstream firewalls, view configurations, steal credentials, alter settings, and potentially enter internal networks; the text notes widespread exploitation and that some versions lack patches.

What the attacker needed

A valid certificate from a FortiGate; network access to FGFM port 541; FortiManager exposed to the internet

The fix

FortiNet released patches for some versions and allocated CVE-2024-47575; for unpatched versions, disabling FGFM is recommended, but that setting does not work on 7.6.0 and 6.4.14, so those should not be exposed to the internet.

How it was found

  1. Obtain a valid certificate from a FortiGate device.
  2. Connect to the FortiManager's FGFM service (port 541) using the certificate.
  3. Register as a managed FortiGate device.
  4. Exploit the vulnerability to achieve remote code execution on the FortiManager.

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.

FortiManager is a central management tool for firewalls. The protocol it uses to talk to firewalls (FGFM) lets any device with a certificate register, and then a flaw allows running malicious code on the manager. This could let attackers control many firewalls and internal networks.

What is RCE?

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

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.