CVE-2021-36169
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 Hidden Functionality in Fortinet FortiOS 7.x before 7.0.1, FortiOS 6.4.x before 6.4.7 allows attacker to Execute unauthorized code or commands via specific hex read/write operations.
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 · moderate confidenceA hidden functionality in Fortinet FortiOS 7.x before 7.0.1 and 6.4.x before 6.4.7 allows remote attackers to execute unauthorized code or commands via specific hex read/write operations. This appears to be an undocumented backdoor or debug feature in the firmware that accepts hex-encoded input to perform privileged operations.
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>= 5.6.0, <= 5.6.14>= 6.0.0, <= 6.0.14>= 6.2.0, < 6.2.10>= 6.4.0, < 6.4.7= 7.0.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
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
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.
-
Check FortiOS version via CLILog into the FortiGate CLI and run `get system status` or `diagnose sys status` to retrieve the firmware versionAffected if The displayed firmware version falls within any of these ranges: 5.6.0-5.6.14, 6.0.0-6.0.14, 6.2.0-6.2.9, 6.4.0-6.4.6, or 7.0.0 exactly
-
Verify no patches have been appliedIn the CLI, run `diagnose system patch info` or check the release notes for any hotpatch statusAffected if No patch or hotfix addressing CVE-2021-36169 has been applied to the system
-
Inspect for unauthorized listening servicesRun `diagnose netstat -lp` or `show system interface` to list all listening services and network listeners on the deviceAffected if Unexpected services are listening, particularly on unusual ports that may be related to the hex-encoded backdoor functionality
A system is affected if it runs FortiOS version 5.6.0-5.6.14, 6.0.0-6.0.14, 6.2.0-6.2.9, 6.4.0-6.4.6, or exactly 7.0.0 without the corresponding security patch applied.
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 · scoped6.2.106.4.7
Upgrade FortiOS to version 7.0.1 or higher (for 7.x branch) or 6.4.7 or higher (for 6.4.x branch) to remove the unauthorized functionality. Apply the upgrade during a scheduled maintenance window with configuration backups.
FortiOS 6.4.7 or later; FortiOS 7.0.1 or later (for 5.6.x/6.0.x/6.2.x migrate to 6.4.7+/7.0.1+)
- 1. Identify the current FortiOS version by running 'get system status' or checking the FortiOS GUI dashboard
- 2. Confirm the version falls within one of the affected ranges: 5.6.0-5.6.14, 6.0.0-6.0.14, 6.2.0-6.2.9, or 6.4.0-6.4.6
- 3. Backup the current FortiOS configuration using 'execute backup config tftp/ftp/scp' or via GUI
- 4. Review Fortinet release notes for the target fixed version to understand any migration considerations
- 5. For FortiOS 6.4.x: Upgrade to version 6.4.7 or later
- 6. For FortiOS 7.x: Upgrade to version 7.0.1 or later
- 7. For FortiOS 5.6.x and 6.0.x: Upgrade to a version beyond the listed affected ranges (6.2.10+, 6.4.7+, or 7.0.1+)
- 8. After upgrade, verify the system is operational and run 'get system status' to confirm the new version
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation3.0 h
- Testing4.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,752.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-36169 — 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-2021-36169 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