FortiOS SSL-VPN Buffer Overflow Vulnerability

Patch nowFull system takeover over the network, no login needed.
9.3CRITICAL

CVE-2022-42475

Key Information:

Vendor

Fortinet

CVE ID
CVE ID:
CVE-2022-42475
Vendor
CVE Published:
2 January 2023

Timeline

Exploit known 20 days before it was disclosed

  • ๐Ÿ“ˆ

    Vulnerability started trending

  • ๐ŸŸก

    Public PoC available

  • Vulnerability published

  • ๐Ÿ’ฐ

    Used in Ransomware

  • ๐Ÿ‘พ

    Exploit known to exist

  • ๐Ÿฆ…

    CISA Reported

  • Vulnerability Reserved

Badges

๐Ÿ“ˆ Trended๐Ÿ“ˆ Score: 7,700๐Ÿ’ฐ Ransomware๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC๐ŸŸฃ EPSS 97%๐Ÿฆ… CISA Reported

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (8 proof-of-concepts)
  • Yes: Attacked in the wild (on CISA's KEV list)
  • Yes: Used by ransomware

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory โ†—
2Follow CISA's required action

Apply updates per vendor instructions.

3Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Fortiproxy. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

4Look for signs of compromise

It is being exploited in the wild, so check logs on exposed Fortiproxy systems for unusual requests or new processes from before you patched. The 8 public proof-of-concepts show what an attack looks like.

5Why it's rated "Patch now"
  • CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
  • Ransomware groups use it.
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • EPSS gives it a 97.4% chance of exploitation in the next 30 days.
  • Its CVSS severity is critical (9.3).

What is CVE-2022-42475?

CVE-2022-42475 is a buffer overflow vulnerability in FortiOS SSL-VPN and FortiProxy SSL-VPN. It affects multiple versions of FortiOS, including 7.2.0 to 7.2.2, 7.0.0 to 7.0.8, 6.4.0 to 6.4.10, 6.2.0 to 6.2.11, and 6.0.15 and earlier, as well as FortiProxy versions 7.2.0 to 7.2.1 and 7.0.7 and earlier. An attacker can exploit this vulnerability by sending specially crafted requests, potentially allowing them to execute arbitrary code or commands on the affected systems.

Potential Impact of CVE-2022-42475

  1. Arbitrary code execution: An unauthenticated remote attacker can execute arbitrary code or commands on the vulnerable device.

  2. System compromise: Successful exploitation may lead to a complete compromise of the affected system, allowing further attacks or data breaches.

CISA has reported CVE-2022-42475

CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2022-42475 as being exploited and is known by the CISA as enabling ransomware campaigns.

The CISA's recommendation is: Apply updates per vendor instructions.

Affected Version(s)

FortiOS 7.2.0 <= 7.2.2

FortiOS 7.0.0 <= 7.0.8

FortiOS 6.4.0 <= 6.4.10

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Output Encoding Issue in Fortinet Products

CVE-2026-126170
FortinetFortimanager๐Ÿ‘พ9.8CRITICAL

Improper Authorization in Fortinet FortiManager Products

CVE-2026-126261
FortinetFortimanager9CRITICAL

Origin Validation Error in Fortinet's FortiClient for Mac and Windows

CVE-2026-121529
FortinetForticlientmac๐Ÿ˜„๐Ÿ‘พ9.1CRITICAL
View more Fortinet vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

97% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.