Skip to content
RedCVE

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

ExploitedRansomwareFortinetPublished:

CVSS score

9.8

Critical

CVSS 3.1 from NVD

Exploit probability (EPSS)

86.8%

86.8% chance of exploitation in the next 30 days, higher than 99.7% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 13 Jun 2023.

US federal deadline to fix: 4 Jul 2023.

Ransomware

Official description

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.

Source: NVD · CNA: psirt@fortinet.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 13 Jun 2023.

    US federal agencies must fix it by 4 Jul 2023. It's a sensible deadline for everyone else too.

    CISA reports it has been used in ransomware attacks.

    CISA's full instruction
    Apply updates per vendor instructions.
  2. Check whether you're affected

    Find every system running Fortinet Fortiproxy, Fortinet FortiOS-6K7K and compare its version with the affected versions.

  3. Apply the vendor's fix

    The official record doesn't name a fixed version. The vendor's advisory describes the fix:

  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Fortinet Fortiproxy≥ 1.1.0, ≤ 1.1.6 · ≥ 1.2.0, ≤ 1.2.13 · ≥ 2.0.0, ≤ 2.0.12 · ≥ 7.0.0, ≤ 7.0.9 · ≥ 7.2.0, ≤ 7.2.3
Fortinet Fortios≥ 6.0.0, ≤ 6.0.16 · ≥ 6.2.0, ≤ 6.2.13 · ≥ 6.4.0, ≤ 6.4.12 · ≥ 7.0.0, ≤ 7.0.11 · ≥ 7.2.0, ≤ 7.2.4 · ≥ 6.0.12, ≤ 6.0.16
Fortinet FortiOS-6K7K7.0.10 · 7.0.5 · 6.4.12 · 6.4.10 · 6.4.8 · 6.4.6

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2023-27997 being exploited?

Yes. CISA added CVE-2023-27997 to its Known Exploited Vulnerabilities catalog on 13 Jun 2023, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 86.8% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2023-27997?

CVE-2023-27997 has a CVSS 3.1 base score of 9.8 (critical).

Which versions are affected?

Fortinet Fortiproxy (≥ 1.1.0, ≤ 1.1.6; ≥ 1.2.0, ≤ 1.2.13; ≥ 2.0.0, ≤ 2.0.12; ≥ 7.0.0, ≤ 7.0.9; ≥ 7.2.0, ≤ 7.2.3), Fortinet Fortios (≥ 6.0.0, ≤ 6.0.16; ≥ 6.2.0, ≤ 6.2.13; ≥ 6.4.0, ≤ 6.4.12; ≥ 7.0.0, ≤ 7.0.11; ≥ 7.2.0, ≤ 7.2.4; ≥ 6.0.12, ≤ 6.0.16), Fortinet FortiOS-6K7K (7.0.10; 7.0.5; 6.4.12; 6.4.10; 6.4.8; 6.4.6)

Is there a patch for CVE-2023-27997?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.