CVE-2022-22297
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 · uneditedAn incomplete filtering of one or more instances of special elements vulnerability [CWE-792] in the command line interpreter of FortiWeb version 6.4.0 through 6.4.1, FortiWeb version 6.3.0 through 6.3.17, FortiWeb all versions 6.2, FortiWeb all versions 6.1, FortiWeb all versions 6.0, FortiRecorder version 6.4.0 through 6.4.3, FortiRecorder all versions 6.0, FortiRecorder all versions 2.7 may allow an authenticated user to read arbitrary files via specially crafted command arguments.
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 incomplete input filtering vulnerability (CWE-792) in the command line interpreter of FortiWeb and FortiRecorder. An authenticated user can read arbitrary files on the system by providing specially crafted arguments to CLI commands, likely exploiting path traversal or injection through unfiltered special elements.
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>= 6.0.0, <= 6.0.8>= 6.1.0, <= 6.1.3>= 6.2.0, <= 6.2.7>= 6.3.0, <= 6.3.17>= 6.4.0, <= 6.4.3>= 2.7.0, <= 2.7.7>= 6.0.0, <= 6.0.12>= 6.4.0, <= 6.4.3CVSS 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
- None
- Availability
- None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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.
-
Identify the Fortinet product and firmware versionAccess the CLI or web UI and run: 'get system status' for FortiWeb or 'fwc -v' for FortiRecorder. Alternatively, check the web UI System > FortiView > Dashboard under System Information.Affected if The product is FortiWeb or FortiRecorder and the version falls within these ranges: FortiWeb 6.0.0-6.0.8, 6.1.0-6.1.3, 6.2.0-6.2.7, 6.3.0-6.3.17, or 6.4.0-6.4.3; FortiRecorder 2.7.0-2.7.7, 6.0.0-6.0.12, or 6.4.0-6.4.3.
-
Confirm CLI access is enabledIn FortiWeb web UI, go to System > Admin > Administrators to verify CLI-based admin accounts exist. For FortiRecorder, check Admin > Admin Users. The vulnerability requires authenticated CLI access to be exploitable.Affected if CLI administrator accounts are present and the CLI interface (SSH or console) is accessible.
-
Review recent CLI login activityIn FortiWeb, run 'execute log display' or check the web UI Log & Report > Log Access > Event. Look for SSH or console login events. In FortiRecorder, check System Logs for admin login records.Affected if Unrecognized or suspicious CLI login events from unexpected IP addresses or users are found.
-
Audit CLI command logs for path traversal patternsSearch logs for CLI commands containing sequences like '../', '..\', or unusual file path arguments to built-in commands. Use 'execute log filter' to isolate CLI command execution events.Affected if CLI commands contain suspicious path traversal sequences or unexpected file read operations.
You are affected if the device runs FortiWeb or FortiRecorder with a version in the affected ranges AND the CLI interface is accessible to unauthorized or compromised authenticated users.
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 · scopedApply vendor-supplied patches/updates for FortiWeb and FortiRecorder. If patches are unavailable, restrict CLI access to trusted users only and monitor for unusual command patterns.
FortiWeb: 6.0.9+, 6.1.4+, 6.2.8+, 6.3.18+, 6.4.2+ | FortiRecorder: 2.7.8+, 6.0.13+, 6.4.4+
- 1. Identify the current FortiWeb/FortiRecorder version by running: get system status
- 2. For FortiWeb: If running version 6.0.0-6.0.8, upgrade to 6.0.9 or later
- 3. For FortiWeb: If running version 6.1.0-6.1.3, upgrade to 6.1.4 or later
- 4. For FortiWeb: If running version 6.2.0-6.2.7, upgrade to 6.2.8 or later
- 5. For FortiWeb: If running version 6.3.0-6.3.17, upgrade to 6.3.18 or later
- 6. For FortiRecorder: If running version 2.7.0-2.7.7, upgrade to 2.7.8 or later
- 7. For FortiRecorder: If running version 6.0.0-6.0.12, upgrade to 6.0.13 or later
- 8. For FortiRecorder: If running version 6.4.0-6.4.3, upgrade to 6.4.4 or later
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-22297 — 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-22297 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