Skip to content
skopnix
Dossier · Vulnerability

Actively exploited · CISA KEV · NVD published 2023-06-13

CVE-2023-27997

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.

  1. First PoC
  2. 1219 days →First cited attacker

Signals

Exploited in the wild
Yesadded 2023-06-13 · due 2023-07-04 · known ransomware use. An observation, not a forecast.
EPSS · 30-day forecast
86%Chance of exploitation in the next 30 days, 100th percentile of all CVEs. A forecast; KEV outranks it.
CVSS · NVD · CRITICAL
9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Internet exposure
not stated by sourcesNo exposure census on this CVE's dispatches.

Exploits

12 known · links only

GitHub PoCs · by trust, then stars12

  1. Safely detect whether a FortiGate SSL VPN instance is vulnerable to CVE-2023-27997 based on response timing

    ★ 134 · created 2023-06-16

  2. xortigate-cve-2023-27997

    ★ 63 · created 2023-10-12

  3. POC FortiOS SSL-VPN buffer overflow vulnerability

    ★ 27 · created 2023-06-16

  4. ★ 9 · created 2023-10-12

  5. Search vulnerable FortiOS devices via Shodan (CVE-2023-27997)

    ★ 2 · created 2023-07-11

  6. VampSecure Labs: FortiOS CVE scanner (CVE-2018-13379, CVE-2022-40684, CVE-2023-27997, CVE-2024-21762)

    ★ 2 · created 2026-07-31

  7. The FortiGate SSL-VPN pot of gold. CVE-2024-21762 and CVE-2023-27997. 79 working exploit clients. 53 hardware SKUs. 55 FortiOS builds.

    ★ 1 · created 2026-09-01

  8. ★ 1 · created 2023-06-22

  9. How to get access via CVE-2022-27997

    ★ 0 · created 2023-09-03

  10. Fortigate SSL VPN buffer overflow exploit

    ★ 0 · created 2024-11-14

  11. FortiGate SSL-VPN CVE-2023-27997 Exploit PoC Script with ROP Chain

    ★ 0 · created 2025-04-18

  12. ★ 0 · created 2023-06-23

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

On the wire

0 dispatches

No dispatch on our wire has named this CVE yet.

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Check your stack

Paste what you run: the CVEs exploited in the wild against it, and who is cited as exploiting them, with the report.

Stack checkNo key. No signup.