FortiSwitch OS Command Injection via CLI (v6.0.07.4.0)
CVE-2023-37937 Published on January 14, 2025
An improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiSwitch version 7.4.0 and 7.2.0 through 7.2.5 and 7.0.0 through 7.0.7 and 6.4.0 through 6.4.13 and 6.2.0 through 6.2.7 and 6.0.0 through 6.0.7 allows attacker to execute unauthorized code or commands via the FortiSwitch CLI.
Vulnerability Analysis
CVE-2023-37937 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2023-37937 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2023-37937
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-37937 are published in Fortinet Fortiswitch:
Affected Versions
Fortinet FortiSwitch:- Version 7.4.0 is affected.
- Version 7.2.0, <= 7.2.5 is affected.
- Version 7.0.0, <= 7.0.7 is affected.
- Version 6.4.0, <= 6.4.13 is affected.
- Version 6.2.0, <= 6.2.7 is affected.
- Version 6.0.0, <= 6.0.7 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.