Authenticated command execution via restore and backup arguments
Published Dec 13, 2023 · Updated Aug 2, 2024
OS command injection in the FortiTester CLI 2.3.0 through 7.2.3 allows local users with administrative access to execute commands. The execute restore and execute backup commands pass crafted arguments to the operating-system command interpreter without neutralizing shell metacharacters. An authenticated CLI session with high privileges is required, and successful injection permits unauthorized command execution affecting appliance data and operation.
Summary
What happened
OS command injection in the FortiTester CLI 2.3.0 through 7.2.3 allows local users with administrative access to execute commands. The execute restore and execute backup commands pass crafted arguments to the operating-system command interpreter without neutralizing shell metacharacters. An authenticated CLI session with high privileges is required, and successful injection permits unauthorized command execution affecting appliance data and operation.
The record
- CVE
- CVE-2023-40716
- Published
- Dec 13, 2023
- Updated
- Aug 2, 2024
- Vendor
- Fortinet
- Product
- FortiTester
- Classifications
- CWE-78, T1059
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Dec 13, 2023CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.3.0
- Affected versionversion=2.4.0 <=2.4.1
- Affected versionversion=2.5.0
- Affected versionversion=2.6.0
- Affected versionversion=2.7.0
- Affected versionversion=2.8.0
- Affected versionversion=2.9.0
- Affected versionversion=3.0.0
- Affected versionversion=3.1.0
- Affected versionversion=3.2.0
- Affected versionversion=3.3.0 <=3.3.1
- Affected versionversion=3.4.0
- Affected versionversion=3.5.0 <=3.5.1
- Affected versionversion=3.6.0
- Affected versionversion=3.7.0 <=3.7.1
- Affected versionversion=3.8.0
- Affected versionversion=3.9.0 <=3.9.2
- Affected versionversion=4.0.0
- Affected versionversion=4.1.0 <=4.1.1
- Affected versionversion=4.2.0 <=4.2.1
- Affected versionversion=7.0.0
- Affected versionversion=7.1.0 <=7.1.1
- Affected versionversion=7.2.0 <=7.2.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo