SecurityContext

CVE-2023-25607: FortiManager & FortiAnalyzer & FortiADC - Command Injection

  • Cve: CVE-2023-25607
  • Name: FortiManager & FortiAnalyzer & FortiADC - Command Injection
  • Description: An improper neutralization of special elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78 ] in FortiManager 7.2.0 through 7.2.2, 7.0.0 through 7.0.7, 6.4.0 through 6.4.11, 6.2 all versions, 6.0 all versions, FortiAnalyzer 7.2.0 through 7.2.2, 7.0.0 through 7.0.7, 6.4.0 through 6.4.11, 6.2 all versions, 6.0 all versions and FortiADC 7.1.0, 7.0.0 through 7.0.3, 6.2 all versions, 6.1 all versions, 6.0 all versions management interface may allow an authenticated attacker with at least READ permissions on system settings to execute arbitrary commands on the underlying shell due to an unsafe usage of the wordexp function.
  • Impact: Authenticated attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
  • Remediation: Update to the latest firmware versions provided by Fortinet that address this vulnerability.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs at least read permissions on system settings
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01653
  • Epss percentile: 0.7719
  • Assignee: [email protected]
  • Published at: 2023-10-10T17:15:11Z
  • Age in days: 1141
  • Modified at: 2026-06-17T05:41:36Z
  • References total: 1
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-25607
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

References

UrlSourceTags
https://fortiguard.com/psirt/FG-IR-22-352nvdVendor Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
fortinet:fortimanager= 7.2.2; = 7.2.1; = 7.2.0; >= 7.0.0, <= 7.0.7; >= 6.4.0, <= 6.4.11; >= 6.2.0, <= 6.2.12; >= 6.0.0, <= 6.0.12/v1/products/fortinet/fortimanager
fortinet:fortianalyzer= 7.2.2; = 7.2.1; >= 7.0.0, <= 7.0.7; >= 6.4.0, <= 6.4.11; >= 6.2.0, <= 6.2.12; >= 6.0.0, <= 6.0.12/v1/products/fortinet/fortianalyzer
fortinet:fortiadc= 7.1.0; >= 7.0.0, <= 7.0.3; >= 6.2.0, <= 6.2.6; >= 6.1.0, <= 6.1.6; >= 6.0.0, <= 6.0.4/v1/products/fortinet/fortiadc

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 345
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports