Inside FortiOS: Five Planes, One Kernel

Site Admin · 3 Dec 2026 · Security Appliances

Management, VPN, proxy, data plane and security services share one kernel. The WAD proxy is where HTTP from the internet meets C code.

Management, VPN, proxy, data plane and security services all run on one kernel and one filesystem. The WAD proxy is where HTTP and HTTPS from the internet meet C code.

The shape of the system

FortiOS is a Linux-based appliance operating system. On top of the kernel sits a set of daemons, a configuration database, and a forwarding path accelerated by dedicated processors. The architecture is usually drawn as five planes:

The planes are logical, not physical. They share the kernel, the filesystem, and the configuration tree — which makes the product cheap to operate, and makes a memory bug in any one plane a problem for all of them.

The configuration tree

FortiOS configuration is a hierarchical object database, usually called the CMDB. Every setting — an interface, a policy, a proxy rule, an admin account — is a node in that tree. Daemons subscribe to the parts they care about and are notified when those parts change.

This is a clean model. It is why a policy change takes effect without a reboot, why VDOMs can partition the tree, and why a configuration backup is a text file that can be diffed. It is also why configuration is a post-exploitation target: an attacker who can write to the tree can change policy, add an admin, or enrol a VPN user, and the change looks like an ordinary administrative action.

The WAD proxy

wad is the web application daemon. It handles the traffic that cannot be handled by simple packet inspection: explicit proxy requests, proxy-based antivirus and web filtering, SSL deep inspection, authentication redirects, caching, and the ZTNA access proxy.

Its job is to parse HTTP and HTTPS. That means request lines, headers, chunked bodies, TLS records, certificates, authentication schemes, and the many ways a client can be malformed. It is written in C, it runs on the internet-facing side of the appliance, and it accepts requests from unauthenticated clients by design.

That combination — C parser, pre-authentication reachability, complex protocol — is the highest-risk position in the product. The November 2026 advisory for the WAD proxy is a stack-based buffer overflow (CWE-121). In August 2026, a different WAD advisory described a stack overflow that could execute code in the WAD context when the explicit proxy used Kerberos authentication with SOCKS enabled. Same daemon, same bug class, different conditions.

FortiGuard

FortiGuard supplies IPS, antivirus, web-filter and DNS-filter categories, application signatures, and vulnerability intelligence. FortiGates pull updates from distribution servers, directly or via a local server. The channel matters twice: it enables signature-based virtual patches, and it is another parser inside the device.

Privilege and containment

A general-purpose server separates services with users, namespaces, and mandatory access control. An appliance compresses that separation for throughput and image size. FortiOS does not give every daemon its own kernel or filesystem; the planes are processes on a shared base.

The practical consequence is containment. A bug that yields code execution in wad is not a bug in a sandboxed web worker. It is a position inside the appliance, with access to the configuration tree, the keys, and the policy that the device exists to enforce. The corpus calls this "limited privilege separation"; that is an assessment, not a vendor statement, but it is consistent with how appliance compromises are reported.

What to carry forward

The management plane is a web application. The proxy plane is a C parser reachable before authentication. Both sit on the same kernel as the data plane, and the device is trusted by everything on both sides.

Next: Part 6 — the smaller failures that point at the big one: sshd, OSPF, WAD and the fleet manager.