// For flags

CVE-2024-55597

Fortinet FortiWeb cgi_xmlprotection_xmlschemafile_post Directory Traversal Arbitrary File Write Vulnerability

Severity Score

5.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track
*SSVC
Descriptions

A improper limitation of a pathname to a restricted directory ('path traversal') in Fortinet FortiWeb versions 7.0.0 through 7.6.0 allows attacker to execute unauthorized code or commands via crafted requests.

This vulnerability allows remote attackers to create arbitrary XML schema files on affected installations of Fortinet FortiWeb. Authentication is required to exploit this vulnerability.
The specific flaw exists within the cgi_xmlprotection_xmlschemafile_post function. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to create XML schema files in the context of root.

*Credits: Kentaro Kawane of GMO Cybersecurity by Ierae
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Multiple
Confidentiality
None
Integrity
Partial
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:Track
Exploitation
None
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2024-12-09 CVE Reserved
  • 2025-03-11 CVE Published
  • 2025-04-07 CVE Updated
  • 2025-04-12 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Fortinet
Search vendor "Fortinet"
FortiWeb
Search vendor "Fortinet" for product "FortiWeb"
7.6.0
Search vendor "Fortinet" for product "FortiWeb" and version "7.6.0"
en
Affected
Fortinet
Search vendor "Fortinet"
FortiWeb
Search vendor "Fortinet" for product "FortiWeb"
>= 7.4.0 <= 7.4.5
Search vendor "Fortinet" for product "FortiWeb" and version " >= 7.4.0 <= 7.4.5"
en
Affected
Fortinet
Search vendor "Fortinet"
FortiWeb
Search vendor "Fortinet" for product "FortiWeb"
>= 7.2.0 <= 7.2.10
Search vendor "Fortinet" for product "FortiWeb" and version " >= 7.2.0 <= 7.2.10"
en
Affected
Fortinet
Search vendor "Fortinet"
FortiWeb
Search vendor "Fortinet" for product "FortiWeb"
>= 7.0.0 <= 7.0.10
Search vendor "Fortinet" for product "FortiWeb" and version " >= 7.0.0 <= 7.0.10"
en
Affected