CVE-2024-26012: FortiAP - Restricted Shell Escape via CLI Command Injection
A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiAP-S 6.2 all verisons, and 6.4.0 through 6.4.9, FortiAP-W2 6.4 all versions, 7.0 all versions, 7.2.0 through 7.2.3, and 7.4.0 through 7.4.2, FortiAP 6.4 all versions, 7.0 all versions, 7.2.0 through 7.2.3, and 7.4.0 through 7.4.2 allow a local authenticated attacker to execute unauthorized code via the CLI.
Other sources
An improper neutralization of special elements used in an OS command [CWE-78] in FortiAP may allow a local authenticated attacker to execute unauthorized code via the FortiAP CLI.
— FortiGuard
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26012?
CVE-2024-26012 has a high severity due to its potential for remote code execution through OS command injection.
How do I fix CVE-2024-26012?
To fix CVE-2024-26012, upgrade to FortiAP version 7.4.3 or later, 7.2.4 or later, or apply the appropriate patch for FortiAP-S and FortiAP-W2 as specified in the advisory.
Which Fortinet products are affected by CVE-2024-26012?
CVE-2024-26012 affects FortiAP-S 6.2 all versions, FortiAP versions 6.4.0 to 6.4.9, 7.0, 7.2.0 to 7.2.3, 7.4.0 to 7.4.2, and FortiAP-W2 6.4 and 7.0 all versions.
Is there a workaround for CVE-2024-26012?
There are no official workarounds for CVE-2024-26012, so upgrading to the patched versions is the recommended action.
What class of vulnerability is CVE-2024-26012?
CVE-2024-26012 is classified as an OS command injection vulnerability, indicating improper neutralization of special elements.