FortiadcApplication · Fortinet

CVE-2023-27999

HIGH · 7.8 CVSS v3.1 Published 2023-05-03
Fix available
A fix is available. Upgrade to 7.1.2 or later.
See remediation →
80/100
Remediation priority · High
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] in FortiADC 7.2.0, 7.1.0 through 7.1.1 may allow an authenticated attacker to execute unauthorized commands via specifically crafted arguments to existing commands.

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

A command injection vulnerability (CWE-78) in FortiADC versions 7.2.0 and 7.1.0-7.1.1 allows authenticated attackers to execute arbitrary OS commands by providing specially crafted arguments to existing commands. The vulnerability stems from improper neutralization of special elements in user-supplied input that gets passed to underlying OS command execution.

MitigationApply the vendor-supplied patch or upgrade to a fixed FortiADC version. Since this requires authentication, also enforce least-privilege access controls and monitor for unauthorized command execution attempts.

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
FortiadcApplication
Affected:>= 7.1.0, < 7.1.2= 7.2.0

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
Local
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/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. Identify the FortiADC software version
    Access the FortiADC CLI or web UI and locate the system version information. In the CLI, this is typically shown via 'get system status' or available through the web GUI under Dashboard > System Information.
    Affected if The installed version is 7.1.0 through 7.1.1 (inclusive), or exactly version 7.2.0.
  2. Verify management interface accessibility
    Determine if the FortiADC management interface (HTTP/HTTPS for web UI or SSH for CLI) is reachable from networks other than trusted administrative networks.
    Affected if The management interface is exposed to untrusted networks, increasing the likelihood of credential compromise.
  3. Review admin user accounts and recent authentication activity
    Check the FortiADC logs and admin user configuration for any unauthorized or unexpected admin accounts, and review authentication logs for login attempts from unfamiliar IP addresses.
    Affected if Unexpected admin accounts exist or authentication attempts from unknown sources are present, suggesting potential credential theft.
  4. Inspect system logs for suspicious command execution
    Examine FortiADC system logs, command history, and audit logs for any commands containing unusual characters (such as semicolons, pipes, backticks, or $() constructs) that could indicate command injection attempts.
    Affected if Logs show commands with special shell metacharacters or commands that were not initiated by legitimate administrators.
  5. Correlate with network security monitoring
    Review network traffic logs or IDS/IPS alerts for any outbound connections from the FortiADC device to unexpected external IP addresses, which could indicate successful command injection leading to callback behavior.
    Affected if The device has initiated unauthorized outbound connections or network communications not initiated by legitimate administrative actions.

A user is affected if their FortiADC version falls within 7.1.0-7.1.1 or equals 7.2.0 AND an attacker with valid admin credentials could potentially exploit the command injection flaw.

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 7.1.2 or later
Fixed in 7.1.2
Interim mitigation

Apply the vendor-supplied patch or upgrade to a fixed FortiADC version. Since this requires authentication, also enforce least-privilege access controls and monitor for unauthorized command execution attempts.

Recommended fix High confidence

FortiADC 7.1.2 or later for 7.1.x; FortiADC 7.2.1 or later for 7.2.0

  1. 1. Log into the FortiADC management interface or CLI.
  2. 2. Backup the current configuration using the backup function in System > Maintenance > Backup & Restore.
  3. 3. Navigate to System > Firmware or use the CLI command 'execute firmware upgrade' to check for available firmware updates.
  4. 4. Download FortiADC firmware version 7.1.2 or later for systems running 7.1.0-7.1.1, or version 7.2.1 or later for systems running 7.2.0.
  5. 5. Upload the firmware image to the FortiADC device.
  6. 6. Follow the upgrade procedure to install the firmware - this may require a reboot.
  7. 7. After upgrade, verify the system is operational and confirm the firmware version via 'get system status' in CLI or the web UI.
  8. 8. Restore the configuration backup if needed and verify all services are functioning correctly.
Caveat Standard firmware upgrade - review Fortinet release notes for any configuration or behavior changes between versions

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

Fix this in Fortiadc Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing12.0 h
  • Review / QA4.0 h
28.0 hours of engineering $4,760
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,616.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-27999 — 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-2023-27999 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