
The first four steps are a memory-safety exploit. The last two are worse: code
execution in the token issuer manufactures users who never existed.
The chain
- Reach the APM virtual server hosting the OAuth Authorization Server.
- Send a crafted OAuth request with a malformed length or structure.
- Overflow a heap buffer.
- Crash the appliance or execute the attacker's code.
- On success, run as the APM process, with its keys and session database.
- Mint tokens for any identity and pivot to applications behind the load
balancer.
Steps 1–4 follow from the advisory and the bug class; steps 5–6 are inferred
from where the code runs and what the appliance holds, not from a published
report.
Step 1: reach
The authorization server exists to be reached: clients obtain tokens, users
authenticate, partners federate. Even an internal-only deployment is reachable
from every segment consuming the API.
That differs from the management-plane CVEs: no "close the GUI" control
preserves the service. The service is the exposure.
Step 2: craft
The request must pass parsing far enough to reach the vulnerable copy, then
diverge in the field that controls length or structure. Three candidates are
plausible, all inference: a declared length that disagrees with the body; a
scope list that drives an allocation smaller than the copy; a JWT assertion
whose base64url segment decodes to more bytes than reserved. No client
registration, account or session is needed.
Step 3: overflow
The copy writes past the allocation and corrupts adjacent heap memory: parsed
claims, session structures, connection state, allocator metadata. A single
request may crash the process; reliable execution needs heap grooming that
places a corruptible object after the buffer.
Step 4: two outcomes
Crash. APM restarts and drops every session. Users are logged out,
in-flight authentication fails, monitoring shows a restart: denial of service
against the identity layer, estate-wide even without code execution.
Code execution. The attacker gains a foothold in APM. From outside, the
appliance still answers requests and issues tokens.
Step 5: the keys
An APM process can reach every virtual server's TLS private keys, the OAuth
signing keys, client secrets, the session database, and the configuration
defining pools, policies and trust. One filesystem, one service account, one
appliance.
Step 6: minted identity
With the signing keys, the attacker creates and correctly signs a token for any
user and any claims. Downstream applications verify signature and issuer; both
are valid, and a minted token is indistinguishable from one issued after a real
login. They also read the session table, impersonate sessions, and adjust
federation metadata so partner trusts resolve.
An owned load balancer reads traffic; an owned authorization server
manufactures identity.
The blast radius
Per device: every application behind the virtual server and every federated
partner trusting it. Per estate: the confidentiality of every API call the token
reaches and the integrity of every action those APIs permit. An administrator's
token is no harder to mint than a user's.
What the attacker needs
Network reach to the OAuth endpoint. No credentials, no management access, no
client registration if the overflow is in authorization or token parsing. A low
bar for a high-value target: the unauthenticated classification matters more
than the precondition narrows the population.
Detection windows
- Crash burst. APM restarts, session drops,
apmdchurn. - Malformed requests. Oversized parameters, broken JWT segments, length
mismatches. - Token anomaly. Tokens for users who did not authenticate, a spike, a new
client. - Key integrity. Unexpected signing-key or certificate changes.
What is silent
Clean grooming leaves no crash and no obvious log beyond the request. Tokens
minted at a normal rate, for plausible users, verify correctly and have no
authentication event behind them. Most estates cannot answer that today. Part 10
is about changing that — and about rotating every key the appliance holds if
compromise is plausible.

Next: Part 10 — the way out: inventory, upgrade, restrict, rotate, and the
mitigation bundle that is the closest this closed-source product gets to an
artefact.

Comments (0)