CVE-2022-42474: fortinet fortios Relative Path Traversal
Vulnerability summary
CVE-2022-42474 is a medium (CVSS 6.2) Relative Path Traversal vulnerability in fortinet fortios. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 49.8% of scored vulnerabilities.
Timeline
- 13-06-2023PublishedVulnerability first disclosed.
- 22-10-2024Last modifiedVulnerability information updated.
Description
A relative path traversal vulnerability [CWE-23] in Fortinet FortiOS version 7.2.0 through 7.2.3, version 7.0.0 through 7.0.9 and before 6.4.12, FortiProxy version 7.2.0 through 7.2.1 and 7.0.0 through 7.0.7, FortiSwitchManager version 7.2.0 through 7.2.1 and before 7.0.1 allows an privileged attacker to delete arbitrary directories from the filesystem through crafted HTTP requests.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST2.7LowCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.64%
Chance of exploitation in the next 30 days
Percentile
50%
Versus all other CVEs
30-day change
0.00 pp
From 0.64% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-23Relative Path TraversalThe product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Fortinet3 products
- fortios≥ 6.2.0, ≤ 6.2.15 | ≥ 6.4.0, ≤ 6.4.12 | ≥ 7.0.0, ≤ 7.0.9 | ≥ 7.2.0, ≤ 7.2.3
- fortiproxy≥ 7.2.0, ≤ 7.2.1 | ≥ 1.0.0, ≤ 1.0.7 | ≥ 1.1.0, ≤ 1.1.6 | ≥ 1.2.0, ≤ 1.2.13 | ≥ 2.0.0, ≤ 2.0.11 | ≥ 7.0.0, ≤ 7.0.7 | 7.2.0 | 7.2.1
- fortiswitchmanager≥ 7.2.0, ≤ 7.2.1 | ≥ 7.0.0, ≤ 7.0.1 | 7.0.0 | 7.0.1 | 7.2.0 | 7.2.1
1 vendor · 3 products
References
1 links- fortiguard.com/psirt/FG-IR-22-393Vendor Advisory