CVE-2024-26012: A improper neutralization of special elements used in an os command ('os command injection') in Fortinet Forti
37
Routine
MEDIUM 6.7UPGRADEUPGRADEUPGRADE
CVE-2024-26012 is a medium-severity flaw (CVSS 6.7) affecting fortiap, fortiap-s, fortiap-w2. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-26012?
fortiap: upgrade to 7.2.4, 7.4.3; fortiap-s: upgrade to 6.4.10; fortiap-w2: upgrade to 7.2.4, 7.4.3. Exact commands for each OS are on this page.
Is CVE-2024-26012 being exploited?
CVE-2024-26012 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-26012 affect?
CVE-2024-26012 affects fortiap, fortiap-s, fortiap-w2. Severity is medium (CVSS 6.7). 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 thro