CVE-2023-25608 Command injection in FortiAP
An authenticated attacker can read arbitrary files on FortiAP devices by exploiting incomplete filtering in the command line interpreter.
- 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-25608?
CVE-2023-25608 is a medium-severity command injection vulnerability in Fortinet FortiAP, published on 13 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An incomplete filtering of one or more instances of special elements vulnerability [CWE-792] in the command line interpreter of FortiAP-W2 7.2.0 through 7.2.1, 7.0.3 through 7.0.5, 7.0.0 through 7.0.1, 6.4 all versions, 6.2 all versions, 6.0 all versions; FortiAP-C 5.4.0 through 5.4.4, 5.2 all versions; FortiAP 7.2.0 through 7.2.1, 7.0.0 through 7.0.5, 6.4 all versions, 6.0 all versions; FortiAP-U 7.0.0, 6.2.0 through 6.2.5, 6.0 all versions, 5.4 all versions may allow an authenticated attacker to read arbitrary files via specially crafted command arguments.
Weakness: CWE-792
Which versions are affected by CVE-2023-25608?
It affects 4 products.
Products include Fortinet Fortiap, Fortinet Fortiap-C, Fortinet Fortiap-U, Fortinet Fortiap-W2.
How do I fix CVE-2023-25608?
No fix has been published for CVE-2023-25608 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-25608 being exploited?
There is no known exploitation of CVE-2023-25608 in the wild and no public exploit code.
Other vulnerabilities in Fortinet FortiAP
- CVE-2022-29058 Command injection in Fortinet FortiAP, FortiAP-S, FortiAP-W2, FortiAP-U
- CVE-2021-26106 Command injection in Fortinet FortiAP-W2, FortiAP-S, FortiAP
- CVE-2019-15708 Command injection in Fortinet FortiAP
- CVE-2025-53870 Command injection in FortiAP
- CVE-2024-26012 Command injection in FortiAP
Sources
Also known as GHSA-6m4g-jhp3-f6r4.