CVE-2024-26012: FortiAP - Restricted Shell Escape via CLI Command Injection

Published Jan 14, 2025
·
Updated

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

15 affected componentsFixes available
Fortinet FortiAP>=6.4.1<7.2.4
Fortinet FortiAP>=7.4.0<7.4.3
Fortinet FortiAP-S>=6.2.0<6.4.10
Fortinet FortiAP-W2>=6.4.0<7.2.4
Fortinet FortiAP-W2>=7.4.0<7.4.3
Fortinet FortiAP>=7.4.0<=7.4.2
Fortinet FortiAP>=7.2.0<=7.2.3
Fortinet FortiAP>=7.0
Fortinet FortiAP>=6.4
Fortinet FortiAP-S>=6.4.0<=6.4.9
Fortinet FortiAP-S>=6.2
Fortinet FortiAP-W2>=7.4.0<=7.4.2
Fortinet FortiAP-W2>=7.2.0<=7.2.3
Fortinet FortiAP-W2>=7.0
Fortinet FortiAP-W2>=6.4

Remediation

Information

Please upgrade to FortiAP-S version 6.4.10 or above Please upgrade to FortiAP-W2 version 7.4.3 or above Please upgrade to FortiAP-W2 version 7.2.4 or above Please upgrade to FortiAP version 7.4.3 or above Please upgrade to FortiAP version 7.2.4 or above

Event History

Jan 14, 2025
Advisory Published
via FortiGuard·12:00 AM
CVE Published
via MITRE·02:09 PM
Data Sourced
via MITRE·02:09 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203