CAPEC-12
Choosing Message Identifier
This pattern of attack is defined by the selection of messages distributed via multicast or public information channels that are intended for another client by determining the parameter value assigned to that client. This attack allows the adversary to gain access to potentially privileged information, and to possibly perpetrate other attacks through the distribution means by impersonation. If the channel/message being manipulated is an input rather than output mechanism for the system, (such as a command bus), this style of attack could be used to change the adversary's identifier to more a privileged one.
On this page
Ask an AI about this attack pattern
Show the prompt
Explain the attack pattern CAPEC-12: Choosing Message Identifier: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/12.html and https://cve.bz/cve/capec/12?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.
How the attack unfolds
Explore
The attacker looks for a way in.
[Determine Nature of Messages] Determine the nature of messages being transported as well as the identifiers to be used as part of the attack
Experiment
They probe what they found.
[Authenticate] If required, authenticate to the distribution channel
[Identify Known Client Identifiers] If any particular client's information is available through a control channel available to all users, the adversary will discover particular identifiers for targeted clients by observing this channel, or requesting client information through this channel.
[Change Message Identifier] Adversaries with client access connecting to output channels could change their channel identifier and see someone else's (perhaps more privileged) data.
Prerequisites
Information and client-sensitive (and client-specific) data must be present through a distribution channel available to all users.
Distribution means must code (through channel, message identifiers, or convention) message destination in a manner visible within the distribution means itself (such as a control channel) or in the messages themselves.
Skills required
- Low skill
All the adversary needs to discover is the format of the messages on the channel/distribution means and the particular identifier used within the messages.
Resources required
The adversary needs the ability to control source code or application configuration responsible for selecting which message/channel id is absorbed from the public distribution means.
Consequences
| Impact | Affects | Note |
|---|---|---|
| Read Data | Confidentiality | |
| Gain Privileges | Confidentiality, Access Control, Authorization |
Mitigations
Associate some ACL (in the form of a token) with an authenticated user which they provide middleware. The middleware uses this token as part of its channel/message selection for that client, or part of a discerning authorization decision for privileged channels/messages.
The purpose is to architect the system in a way that associates proper authentication/authorization with each channel/message.
Re-architect system input/output channels as appropriate to distribute self-protecting data. That is, encrypt (or otherwise protect) channels/messages so that only authorized readers can see them.
Weaknesses it exploits
- CWE-201 Insertion of Sensitive Information Into Sent Data
- CWE-306 Missing Authentication for Critical Functionality
Recent CVEs with these weaknesses
- 5.3CVE-2026-139894
A vulnerability was found in davila7 claude-code-templates up to 1.29.6. The affected element is an unknown function of the file cli-tool/src/claude-api-proxy.js of the component Claude API proxy. Performing a manipulation results in missi…
- 6.3CVE-2026-140123
changedetection.io before 0.71.1 contains a missing authentication vulnerability in the static_content handler that allows unauthenticated attackers to access watch data when the password is set via SALTED_PASS. Attackers who know a watch …
- 7.5CVE-2026-137024
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.54.0 and enclave-cluster version 0.8.0, Enclave OS Mini's check_configure_authz function returned succ…
- 6.5CVE-2026-137020
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.55.0 and enclave-cluster version 0.8.0, Enclave OS Mini processed the wasm_funded_rps control envelope…
- 5.5CVE-2026-138434
A vulnerability was found in Zylon PrivateGPT up to 1.0.1. Affected is the function authenticated of the file private_gpt/server/utils/auth.py of the component API Authentication. Performing a manipulation of the argument server.auth.enabl…
- 8.8CVE-2026-119226
Missing authentication for command in the license protocol of Reprise Software Reprise License Manager allows an unauthenticated remote attacker to create or truncate files via attacker-controlled logging directives. The command overwrite…
- 8.7CVE-2026-119225
A NULL pointer dereference in the binary command protocol handler of Reprise Software Reprise License Manager allows an unauthenticated remote attacker to cause a denial of service via a crafted network request. A single crafted binary fra…
- 8.7CVE-2026-119223
A reachable fatal-abort path in vendor license daemons (ISV servers) built with the Reprise Software RLM SDK allows an unauthenticated remote attacker to cause a denial of service by sending a crafted request to the daemon's binary license…
The newest records naming one of them. Each weakness's page lists them all.
Related attack patterns
- Part of
- CAPEC-216 Communication Channel Manipulation
- Related to
- CAPEC-21 Exploitation of Trusted Identifiers
Examples
A certain B2B interface on a large application codes for messages passed over an MQSeries queue, on a single …
A certain B2B interface on a large application codes for messages passed over an MQSeries queue, on a single "Partners" channel. Messages on that channel code for their client destination based on a partner_ID field, held by each message. That field is a simple integer. Adversaries having access to that channel, perhaps a particularly nosey partner, can simply choose to store messages of another partner's ID and read them as they desire. Note that authentication does not prevent a partner from leveraging this attack on other partners. It simply disallows adversaries without partner status from conducting this attack.
MITRE's words, unchanged: CAPEC-12 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.