
TMM owns the connection. APM owns the decision. The split is real, but it is
not a security boundary: both run on the same appliance, read the same
configuration, and can reach the same keys.
The operating system
TMOS is F5's appliance operating system: Linux-based, delivered as a single
image, configured transactionally. The running configuration lives in
/config/bigip.conf and /config/bigip_base.conf; a UCS backup captures both,
along with certificates and other secrets.
The single-image model is much of the appeal — and why a security fix arrives
as a whole build, not a package update.
The data plane: TMM
TMM — the Traffic Management Microkernel — is the full-proxy data plane. It
runs in user space on TMOS and processes packets through virtual server, SSL,
HTTP and pool-selection stages.
It terminates TLS, parses HTTP, applies iRules and forwards to a pool member. A
virtual server can run in fastL4 mode, closer to a packet forwarder, or in
standard mode: a full proxy and therefore a full parser.
The control plane
Around TMM sit the control processes:
- mcpd — the master control process that owns configuration state;
- tmsh — the CLI and the scripting interface;
- httpd — the configuration utility;
- restjavad / icrd — the REST and iControl interfaces.
This is the management plane: a privileged web application, and the source of
most of BIG-IP's best-known CVEs — Part 6's subject.
Where APM sits
APM runs its policy engine in the apmd process. It maintains the session
database, evaluates access policies, speaks SAML and OAuth, and enforces
per-request policy.
TMM accepts the TCP connection and decrypts TLS. When the virtual server has an
access profile, TMM passes the request to APM, which runs the policy, sets
cookies, and either completes the request or redirects the client into an
authentication flow. On an OAuth Authorization Server, APM also handles the
authorization, token, JWKS, introspection and revocation endpoints.
The response goes back through TMM. To the client it is one HTTPS conversation;
inside the appliance, two subsystems and a policy decision.
Why the split is not a boundary
APM is not a sandbox: both run on the same image, under the same administrative
model, on the same filesystem. The private keys for
every TLS virtual server live under /config/ssl; the configuration that defines
every pool, iRule and trust relationship lives in /config. The OAuth signing
keys and client secrets are in the same key store.
An attacker who executes code in the APM process does not need a second
vulnerability to read them. They need file permissions, and on an appliance the
service account usually has them.
The parser surface
The OAuth Authorization Server is a protocol endpoint, and every endpoint is a
parser:
- Authorization request — query parameters, redirect URI, state, PKCE
challenge, scopes, nonce. - Token request — form or JSON body, grant type, code, refresh token, client
assertion, secret. - JWT client assertion — three base64url segments, a header, a claim set, a
signature. - JWKS publication — key sets and identifiers.
- Introspection and revocation — token handles and response shaping.
Each has variable-length fields: the parser must decide how much to allocate and
how much to copy. When those two numbers disagree, the result is a heap overflow.
The corpus does not name the endpoint: only that the overflow is in OAuth
protocol parsing and reachable before authentication. With a closed-source
product, there is no diff to read.
The upgrade consequence
Because TMM and APM are one image, there is no way to patch APM alone. An
engineering hotfix is a whole-build installation; a maintenance release is a
reboot or failover.
That is the operational fact behind Part 8's sprawl: the unit of change is the
appliance. An estate that cannot take an appliance upgrade cannot take the fix,
even if the vulnerable code is one endpoint on one virtual server.

Next: Part 6 — the smaller failures: a decade of BIG-IP CVEs that lived in the
management plane, and why this one moving to the identity data plane changes the
defensive model.

Comments (0)