CVE-2023-37937 Command injection in FortiSwitch
Attackers can execute unauthorized commands via the FortiSwitch CLI due to improper neutralization of special elements.
- 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-2023-37937?
CVE-2023-37937 is a high-severity command injection vulnerability in Fortinet FortiSwitch, published on 14 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-78
Which versions are affected by CVE-2023-37937?
It affects 1 product.
Products include Fortinet Fortiswitch.
How do I fix CVE-2023-37937?
No fix has been published for CVE-2023-37937 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-37937 being exploited?
There is no known exploitation of CVE-2023-37937 in the wild and no public exploit code.
Other vulnerabilities in Fortinet FortiSwitch
Sources
Also known as GHSA-g347-74q4-mp7w.