CVE-2022-22297 Path traversal in FortiRecorder

Medium 5.2 Published Updated

An authenticated user can read arbitrary files on FortiWeb and FortiRecorder devices by exploiting incomplete filtering in the command line interpreter.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-22297?

CVE-2022-22297 is a medium-severity path traversal vulnerability in Fortinet Fortiweb, published on 7 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An 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.

Weakness: CWE-792

Which versions are affected by CVE-2022-22297?

It affects 2 products.

Products include Fortinet Fortirecorder Firmware, Fortinet Fortiweb.

How do I fix CVE-2022-22297?

No fix has been published for CVE-2022-22297 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-22297 being exploited?

There is no known exploitation of CVE-2022-22297 in the wild and no public exploit code.

All Fortinet Fortiweb vulnerabilities

Sources

Also known as GHSA-x8qp-2qgw-7qxx.

Is CVE-2022-22297 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free