cve.bz

CVE-2023-27997 (XORtigate) Fortinet FortiOS and FortiProxy SSL-VPN Heap-Based Buffer Overflow Vulnerability

9.8 criticalKEVEPSS 87%

Known as XORtigate

Critical (9.8) in Fortinet FortiOS and FortiProxy SSL-VPN. In CISA KEV since 2023-06-13, with known ransomware use. EPSS 87% estimated probability of exploitation activity in the next 30 days.

On this page
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, version 6.4.12 and below, version 6.0.16 and below and FortiProxy version 7.2.3 and below, version 7.0.9 and below, version 2.0.12 and below, version 1.2 all versions, version 1.1 all versions SSL-VPN may allow a remote attacker to execute arbitrary code or commands via specifically crafted requests.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
87% (unchanged from 87% a week ago; 86% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2023-06-13, due 2023-07-04, known ransomware use
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2023-06-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-27997 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-27997?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-27997?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-27997 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Fortinet FortiOS-6K7K7.0.10
Fortinet FortiOS-6K7K7.0.5
Fortinet FortiOS-6K7K6.4.12
Fortinet FortiOS-6K7K6.4.10
Fortinet FortiOS-6K7K6.4.8
Fortinet FortiOS-6K7K6.4.6
Fortinet FortiOS-6K7K6.4.2
Fortinet FortiOS-6K7Kfrom 6.2.9 through 6.2.13
Fortinet FortiOS-6K7Kfrom 6.2.6 through 6.2.7
Fortinet FortiOS-6K7K6.2.4
Fortinet FortiOS-6K7Kfrom 6.0.12 through 6.0.16
Fortinet FortiOS-6K7K6.0.10
Fortinet FortiProxyfrom 7.2.0 through 7.2.3
Fortinet FortiProxyfrom 7.0.0 through 7.0.9
Fortinet FortiProxyfrom 2.0.0 through 2.0.12
Fortinet FortiProxyfrom 1.2.0 through 1.2.13
Fortinet FortiProxyfrom 1.1.0 through 1.1.6
Fortinet FortiOSfrom 7.2.0 through 7.2.4
Fortinet FortiOSfrom 7.0.0 through 7.0.11
Fortinet FortiOSfrom 6.4.0 through 6.4.12
Fortinet FortiOSfrom 6.2.0 through 6.2.13
Fortinet FortiOSfrom 6.0.0 through 6.0.16

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-044-06Siemens RUGGEDCOM APE18082025-02-11Critical ManufacturingRUGGEDCOM APE1808none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET EXPLOIT Fortigate VPN - Repeated POST Requests to /remote/error (CVE-2023-27997) sid 2046723
  • Emerging Threats Open ET EXPLOIT Fortigate VPN - Repeated GET Requests to /remote/hostcheck_validate (CVE-2023-27997) sid 2046251
  • Emerging Threats Open ET EXPLOIT Fortigate VPN - Repeated POST Requests to /remote/hostcheck_validate (CVE-2023-27997) M1 sid 2046252
  • Emerging Threats Open ET EXPLOIT Fortigate VPN - Repeated POST Requests to /remote/hostcheck_validate (CVE-2023-27997) M2 sid 2046253
  • Emerging Threats Open ET EXPLOIT Fortigate VPN - Repeated GET Requests to /remote/logincheck (CVE-2023-27997) sid 2046254
  • Emerging Threats Open ET EXPLOIT Fortigate VPN - Repeated POST Requests to /remote/logincheck (CVE-2023-27997) sid 2046255
  • Emerging Threats Open ET EXPLOIT Fortigate VPN - Request to /remote/info - Possible CVE-2023-27997 Exploit Attempt sid 2046256

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON