CVE-2022-27486
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 · uneditedA improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiDDoS version 5.5.0 through 5.5.1, 5.4.2 through 5.4.0, 5.3.0 through 5.3.1, 5.2.0, 5.1.0, 5.0.0, 4.7.0, 4.6.0 and 4.5.0 and FortiDDoS-F version 6.3.0 through 6.3.1, 6.2.0 through 6.2.2, 6.1.0 through 6.1.4 allows an authenticated attacker to execute shell code as `root` via `execute` CLI 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 confidenceThis is an OS command injection vulnerability in Fortinet FortiDDoS and FortiDDoS-F appliances. An authenticated attacker can inject arbitrary shell commands through the execute CLI commands due to improper neutralization of special elements. The vulnerability allows execution of shell code with root privileges.
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>= 4.5.0, < 5.6.2= 5.7.0all versions>= 6.1.0, < 6.4.2= 6.5.0CVSS 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 checksWork through these to decide whether this CVE applies to you.
-
Identify FortiDDoS product modelAccess the FortiDDoS CLI and run 'get system status' or check the web UI dashboard for the appliance model name (FortiDDoS vs FortiDDoS-F)Affected if The device is a FortiDDoS-F appliance (all versions affected) or FortiDDoS appliance (version 4.5.0 to 5.6.1, or 5.7.0)
-
Determine installed firmware versionRun 'get system status' in the FortiDDoS CLI or check System > Firmware in the web UI to obtain the exact version numberAffected if The installed version falls within: FortiDDoS >= 4.5.0 and < 5.6.2, or = 5.7.0; FortiDDoS-F >= 6.1.0 and < 6.4.2, or = 6.5.0, or any version of FortiDDoS-F (all versions affected)
-
Verify CLI access is exposedCheck network configuration via 'show system interface' or examine firewall policies to determine if the CLI (port 22/SSH) is accessible from untrusted networksAffected if The CLI management interface is reachable from the network segment where the potential attacker resides, providing an attack vector for authenticated command injection
-
Confirm administrative credentials existReview user accounts via 'get system admin' in CLI or System > Administrators in the web UI to list accounts with CLI access privilegesAffected if There are any administrative or operator accounts configured that could be compromised to provide authenticated access to the execute CLI commands
-
Check execute command availabilityLog into the CLI with a low-privilege account and attempt to access execute commands (e.g., 'execute ?' or 'execute system ') to verify command execution is permittedAffected if The authenticated user can invoke execute commands, which is where the improper neutralization of special elements allows command injection
The environment is affected if the FortiDDoS device is a FortiDDoS-F model (any version) or a FortiDDoS model with version 4.5.0-5.6.1 or 5.7.0, and the CLI interface is accessible to an authenticated attacker who can execute arbitrary commands through the execute CLI functionality.
Generated from the published advisory. Verify against your own configuration.
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 · scoped5.6.26.4.2
Apply vendor-supplied patches by upgrading FortiDDoS to a fixed version (FortiDDoS 5.5.2 or later, 5.4.3 or later, 5.3.2 or later, or 6.1.5/6.2.3/6.3.2 or later). Restrict CLI access to trusted administrators only until the upgrade is completed.
FortiDDoS: upgrade to >= 5.6.2 (excluding 5.7.0); FortiDDoS-F: upgrade to >= 6.4.2 (excluding 6.5.0)
- 1. Identify the currently installed FortiDDoS (or FortiDDoS-F) version via the GUI dashboard or CLI command: get system status
- 2. For FortiDDoS: If version is < 5.6.2 or version is 5.7.0, plan upgrade to version 5.6.2 or later (recommended: latest 5.x stable release)
- 3. For FortiDDoS-F: If version is < 6.4.2 or version is 6.5.0, plan upgrade to version 6.4.2 or later (recommended: latest 6.x stable release)
- 4. Backup current configuration via GUI: System > Maintenance > Backup & Restore, or CLI: execute backup config flash
- 5. Download the firmware image from Fortinet Customer Support portal (https://support.fortinet.com/) for the target version
- 6. Upload firmware via GUI: System > Firmware, or CLI: execute system firmware upgrade
- 7. After reboot, verify new version: get system status and confirm vulnerability is remediated
- 8. Restrict CLI execute command access to only necessary admin accounts via administrative user profiles
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-27486 — 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-27486 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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