Stack-Based Buffer Overflow Vulnerabilities in FortiWeb Proxy Daemon

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

Key Information:

Vendor

Fortinet

Status
CVE ID
CVE ID:
CVE-2021-42756
Vendor
CVE Published:
16 February 2023
Fixed in
Fixed in:
5.8.*, 5.7.*, 5.6.*

Timeline

Exploit known 7 days after it was published

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸฃ EPSS 35%

How risky is it?

  • Yes: Works over the network, no login needed
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version

Several version ranges are affected; the full list is under Affected Version(s).

Install the FortiWeb release that fixes your version line, or later:

5.8.*5.7.*5.6.*
Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach FortiWeb. 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.

3Look for signs of compromise

Exploitation has been reported, so check logs on exposed FortiWeb systems for unusual requests or new processes from before you patched.

4Why it's rated "Patch this week"
  • Exploitation or a working exploit has been reported.
  • It can be exploited remotely without credentials.
  • EPSS gives it a 35.2% chance of exploitation in the next 30 days.
  • Its CVSS severity is critical (9.3).

What is CVE-2021-42756?

Multiple stack-based buffer overflow vulnerabilities exist in the proxy daemon of FortiWeb. These vulnerabilities affect various versions of FortiWeb, allowing unauthenticated remote attackers to execute arbitrary code by sending specially crafted HTTP requests. Organizations using vulnerable FortiWeb versions should take immediate action to mitigate the risk associated with these vulnerabilities.

Affected Version(s)

FortiWeb 6.4.0 <= 6.4.1

FortiWeb 6.3.0 <= 6.3.16

FortiWeb 6.2.0 <= 6.2.6

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

35% 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
.