// For flags

CVE-2024-50569

Fortinet FortiWeb gui_upload_compress_act Command Injection Remote Code Execution Vulnerability

Severity Score

6.6
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiWeb 7.0.0 through 7.6.0 allows attacker to execute unauthorized code or commands via crafted input.

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Fortinet FortiWeb. Authentication is required to exploit this vulnerability.
The specific flaw exists within the gui_upload_compress_act function. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this in conjunction with other vulnerabilities to execute code in the context of root.

*Credits: Kentaro Kawane of GMO Cybersecurity by Ierae
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Multiple
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
None
Automatable
No
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2024-10-24 CVE Reserved
  • 2025-02-11 CVE Published
  • 2025-02-24 CVE Updated
  • 2025-03-30 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
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