# Technical Analysis — CVE-2026-76466 ## Architecture Cisco Expressway's cluster database is an Erlang/OTP application. When two or more nodes are configured as a cluster, each runs: - A TLS distribution listener on **TCP/4372** (Erlang dist protocol) - A fake EPMD (Erlang Port Mapper Daemon) multiplexed on the same port - An HTTP REST API on TCP/4370 (loopback only) The distribution listener authenticates peers via an Erlang "cookie" (a shared secret). If an attacker knows the cookie and can reach the port, they can join the distribution mesh and invoke `rpc:call/4` — executing arbitrary functions in the context of the Erlang VM, which runs as root. ## The Defect The vendor's cluster-manager module (`cm_server`) contains a function (`add_allowed_wombat_node/1`) that: 1. Admits any node identity starting with the prefix `wombat@` into the allowed-node set (`cm_dist:set_allowed_nodes/1`) 2. Installs a fixed maintenance cookie alongside the identity Both the identity prefix and the cookie are **hard-coded literals** in the compiled module — they are identical on every installation of the affected release. The function is called during the distribution handshake: when a connecting node presents a name starting with `wombat@`, the server automatically adds it to the allowed list before the cookie challenge. In TLS **Permissive** mode (factory default), the server does not validate client certificates. An attacker with network access to TCP/4372 can: 1. Connect via TLS 1.3 (no client certificate needed) 2. Present the maintenance node identity (`wombat@127.0.0.1`) 3. Respond to the challenge with the maintenance cookie (`wombat`) 4. Execute arbitrary RPC calls as root ## Distinguishing from the peer cookie The visible cookie file on the appliance (`erlangcookie.conf`) contains the **peer cookie** used for inter-node cluster communication. This is NOT the maintenance credential. The vendor code derives the peer cookie from a base value plus an internal version identifier, which is why simply reading the visible cookie file and replaying it does not work. The maintenance cookie is a separate, simpler value installed by the same vendor module. ## Controls (from runtime validation) | Test | Result | Implication | |---|---|---| | Unlisted node identity + correct cookie | `not_allowed` | Node identity admission is required | | Maintenance identity + wrong cookie | Challenge rejected | Cookie knowledge is required | | Forced TLS 1.2 | Rejected | TLS 1.3 is the minimum protocol | | No client certificate | Accepted (Permissive) | Client cert validation is bypassed in Permissive | | Maintenance identity + correct cookie | `pong` (session established) | The maintenance credential works | | `rpc:call(os,cmd,["id -u"])` | Returns `0` | Root-level execution confirmed | | Post-test cluster state | Both peers remain active | No service disruption | ## Why the maintenance identity matters The `add_allowed_wombat_node` function was initially identified during static analysis as potentially "dead code" (exported but not called by other modules). Runtime validation proved it IS functional — the server invokes it during the distribution handshake when a `wombat@`-prefixed identity connects. This is the admission gate that makes the attack possible without compromising a legitimate cluster peer's identity first. ## Scope Notes - Runtime proof: Expressway-C X15.3.2, two-node cluster, TLS Permissive mode - The CVE advisory covers both Expressway-C and Expressway-E - Fixed release X15.5.20 presumably removes or randomizes the maintenance credential — this was not runtime-tested (negative control pending) - TLS Enforcing mode behavior was not tested