FortisandboxApplication · Fortinet

CVE-2024-27778

HIGH · 8.8 CVSS v3.1 Published 2025-01-14
Fix available
A fix is available. Upgrade to 4.0.5 / 4.2.7 or later.
See remediation →
94/100
Remediation priority · Urgent
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
An improper neutralization of special elements used in an OS Command vulnerability [CWE-78] vulnerability in Fortinet FortiSandbox 4.4.0 through 4.4.4, FortiSandbox 4.2.1 through 4.2.6, FortiSandbox 4.0.0 through 4.0.4, FortiSandbox 3.2 all versions, FortiSandbox 3.1 all versions, FortiSandbox 3.0.5 through 3.0.7 allows an authenticated attacker with at least read-only permission to execute unauthorized commands via crafted requests.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

This is an OS command injection (CWE-78) vulnerability in Fortinet FortiSandbox that allows an authenticated attacker with at least read-only permissions to execute unauthorized OS commands via specially crafted HTTP requests. The vulnerability affects versions 4.4.0-4.4.4, 4.2.1-4.2.6, 4.0.0-4.0.4, and 3.x versions.

MitigationUpgrade FortiSandbox to a patched version as specified in Fortinet's security advisory. If immediate patching is not possible, restrict administrative access to trusted IPs only and monitor for suspicious command execution patterns.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
FortisandboxApplication
Affected:>= 3.0.5, < 4.0.5>= 4.2.0, < 4.2.7>= 4.4.0, < 4.4.5

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check FortiSandbox version
    Log into the FortiSandbox CLI and run the command 'get system status' or access the web UI and navigate to Dashboard > System Information to view the firmware version
    Affected if The displayed version falls within 3.0.5 to 4.0.4, 4.2.0 to 4.2.6, or 4.4.0 to 4.4.4
  2. Verify web UI access exposure
    Check if the FortiSandbox web interface (HTTPS port 443) is accessible from untrusted networks by reviewing firewall rules or network segmentation configuration
    Affected if The web UI is exposed to the internet or untrusted networks without IP restriction
  3. Review HTTP access logs for suspicious requests
    Examine FortiSandbox logs via the web UI at Log & Report > Event Log or by checking /var/log/lighttpd/access.log for unusual or malformed HTTP requests, especially those containing shell metacharacters
    Affected if Logs show unexpected HTTP requests with suspicious patterns or requests to endpoints not normally accessed by legitimate users
  4. Audit user accounts and permissions
    In the web UI, go to System > Administrator to review all accounts. In CLI, use 'diagnose system admin list' to see all administrators and their privilege levels
    Affected if There are unauthorized accounts, or accounts with read-only access that should not exist or were not created by administrators
  5. Check system execution logs for unauthorized commands
    Review system logs via Log & Report > Event Log or use CLI command 'execute log filter category 1' then 'execute log display' to look for unexpected command executions
    Affected if Logs contain command executions that were not initiated by known administrators or show commands executed outside normal administrative workflows

A user is affected if their FortiSandbox version is 3.0.5-4.0.4, 4.2.0-4.2.6, or 4.4.0-4.4.4 AND the web interface is accessible to an authenticated attacker with read-only permissions.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.0.5 / 4.2.7 / 4.4.5 or later
Fixed in 4.0.54.2.74.4.5
Interim mitigation

Upgrade FortiSandbox to a patched version as specified in Fortinet's security advisory. If immediate patching is not possible, restrict administrative access to trusted IPs only and monitor for suspicious command execution patterns.

Recommended fix High confidence

Upgrade to FortiSandbox 4.0.5 or later, 4.2.7 or later, or 4.4.5 or later (recommended: latest stable 4.4.x release)

  1. 1. Identify the current FortiSandbox version by navigating to System > Firmware in the web UI or running 'get system status' in the CLI
  2. 2. Determine which upgrade path applies based on current version: for 3.0.x go to 4.0.5+, for 4.2.x go to 4.2.7+, for 4.4.x go to 4.4.5+
  3. 3. Download the appropriate firmware image from Fortinet Customer Support portal (https://support.fortinet.com)
  4. 4. Backup the FortiSandbox configuration via System > Maintenance > Backup & Restore
  5. 5. Upload the new firmware image via System > Firmware
  6. 6. Confirm the upgrade and allow the system to reboot
  7. 7. Verify successful upgrade by checking the version in System > Dashboard > Status
  8. 8. Verify the vulnerability is resolved by confirming the fixed version is running
Caveat Standard firmware upgrade; review Fortinet release notes for any configuration changes between major versions

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Fortisandbox Scoped from the published advisory
  • Consultation8.0 h
  • Implementation4.0 h
  • Testing12.0 h
  • Review / QA4.0 h
28.0 hours of engineering $4,840
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,744.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-27778 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-27778 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data