CVE-2023-36640: A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.4.0, FortiOS 7.2.0 through...
A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.4.0, FortiOS 7.2.0 through 7.2.5, FortiOS 7.0 all versions, FortiOS 6.4 all versions, FortiOS 6.2 all versions, FortiOS 6.0.0 through 6.0.16, FortiPAM 1.1.0, FortiPAM 1.0 all versions, FortiProxy 7.2.0 through 7.2.5, FortiProxy 7.0.0 through 7.0.11, FortiProxy 2.0 all versions, FortiProxy 1.2 all versions, FortiProxy 1.1 all versions, FortiProxy 1.0 all versions allows attacker to execute unauthorized code or commands via specially crafted commands
Security readout for executives and security teams
Plain-English summary
This Fortinet flaw could let a highly privileged local attacker run unauthorized code or commands on affected FortiOS, FortiPAM, or FortiProxy systems. It is not described as remotely exploitable without credentials, but compromise of administrator-level access could turn this into a serious device-control risk.
Executive priority
Treat this as a scheduled but important Fortinet maintenance item. It requires high privileges, lowering immediate mass-exploitation risk, but affected security appliances are high-value control points and should be upgraded promptly after confirming vendor-fixed releases.
Technical view
CVE-2023-36640 is a CWE-134 externally controlled format string issue. The CVSS 3.1 vector is AV:L/AC:L/PR:H/UI:N with high confidentiality, integrity, and availability impact. Fortinet states specially crafted commands can enable unauthorized code or command execution on affected product versions.
Likely exposure
Exposure is limited to listed Fortinet versions: FortiOS 7.4.0, 7.2.0-7.2.5, 7.0/6.4/6.2 all, 6.0.0-6.0.16; FortiPAM 1.1.0 and 1.0 all; FortiProxy 7.2.0-7.2.5, 7.0.0-7.0.11, and older named branches.
Exploitation context
The provided sources do not show CISA KEV listing or confirmed active exploitation. The CVSS vector requires local access and high privileges, so the main concern is misuse after privileged account compromise or malicious insider access.
Researcher notes
Evidence is limited to the CVE record and Fortinet PSIRT reference in the bundle. Do not assume remote unauthenticated exploitation. Focus validation on version identification, privilege boundaries, management-plane exposure, and Fortinet’s official remediation guidance.
Mitigation direction
Check Fortinet PSIRT FG-IR-23-137 for vendor-approved fixed versions.
Upgrade affected FortiOS, FortiPAM, and FortiProxy systems per Fortinet guidance.
Restrict administrative and command access to trusted operators only.
Review privileged account hygiene, MFA, and session logging on affected appliances.
Prioritize systems that are internet-facing or critical network control points.
Validation and detection
Inventory all FortiOS, FortiPAM, and FortiProxy versions in use.
Compare discovered versions against the affected ranges in the advisory.
Confirm upgraded systems match Fortinet-recommended fixed releases.
Review administrative access logs for unusual privileged command activity.
Verify management access is restricted to approved networks and users.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-134: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
2Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-134 · source CWE mapping
Use of Externally-Controlled Format String
Use of Externally-Controlled Format String represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.