FortiWAN Vulnerability Could Allow for Arbitrary Code Execution

Fortify Security Team
Apr 7, 2022

A vulnerability has been discovered in FortiWAN which could allow for arbitrary code execution. FortiWAN is a product that balances traffic over multiple WAN connections. Successful exploitation of this vulnerability could allow an unauthenticated attacker to execute arbitrary code using specially crafted requests.

THREAT INTELLIGENCE: There are currently no reports of this vulnerability being exploited in the wild.


  • FortiWAN versions prior to 4.5.9


  • Large and medium government entities: High
  • Small government entities: High 


  • Large and medium business entities: High
  • Small business entities: High

Home users: Low


A vulnerability has been discovered in FortiWAN which could allow for arbitrary code execution. Stack-based buffer overflow vulnerabilities in in network daemons and in the command line interpreter of FortiWAN may allow an unauthenticated attacker to potentially corrupt control data in memory and execute arbitrary code via specifically crafted requests. Successful exploitation of this vulnerability could result in arbitrary code execution.


We recommend the following actions be taken:

  • Apply appropriate patches provided by Fortiguard to vulnerable systems and servers immediately after appropriate testing.
  • Run all software as a non-privileged user (one without administrative privileges) to diminish the effects of a successful attack.
  • Evaluate read, write, and execute permissions on all newly installed software.
  • Apply the Principle of Least Privilege to all systems and services.




Recent Posts

July 17, 2023

Title: Thousands of Images on Docker Hub Leak Auth Secrets, Private Keys Date Published: July 16, 2023 Excerpt: “Researchers at the RWTH Aachen University...

July 14, 2023

Title: Indexing Over 15 Million WordPress Websites with PWNPress Date Published: July 14, 2023 Excerpt: “Sicuranex’s PWNPress platform indexed over 15 million WordPress websites, it collects data...

Increased Truebot Activity Infects U.S. and Canada Based Networks

The Cybersecurity and Infrastructure Security Agency (CISA), the Federal Bureau of Investigation (FBI), the Multi-State Information Sharing and Analysis Center (MS-ISAC), and the Canadian Centre for Cyber Security (CCCS) are releasing this joint Cybersecurity Advisory...