CAPEC-331
ICMP IP Total Length Field Probe
An adversary sends a UDP packet to a closed port on the target machine to solicit an IP Header's total length field value within the echoed 'Port Unreachable" error message. This type of behavior is useful for building a signature-base of operating system responses, particularly when error messages contain other types of information that is useful identifying specific operating system responses.
On this page
RFC1122 specifies that the Header of the request must be echoed back when an error is sent in response, but some operating systems and firmware alter the integrity of the original header. Non-standard ICMP/IP implementations result in response that are useful for individuating remote operating system or router firmware versions. There are four general response types that can be used to distinguish operating systems apart: 1) the IP total length field may be calculated correctly, 2) an operating system may add 20 or more additional bytes to the length calculation, 3) the operating system may subtract 20 or more bytes from the correct length of the field or 4) the IP total length field is calculated with any other incorrect value.
Ask an AI about this attack pattern
Show the prompt
Explain the attack pattern CAPEC-331: ICMP IP Total Length Field Probe: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/331.html and https://cve.bz/cve/capec/331?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.
Prerequisites
The ability to monitor and interact with network communications. Access to at least one host, and the privileges to interface with the network interface card.
Resources required
A tool capable of sending/receiving UDP datagram packets from a remote system to a closed port and receive an ICMP Error Message Type 3, "Port Unreachable."
Consequences
| Impact | Affects | Note |
|---|---|---|
| Read Data | Confidentiality | |
| Bypass Protection Mechanism, Hide Activities | Confidentiality, Access Control, Authorization |
Weaknesses it exploits
- CWE-204 Observable Response Discrepancy
Recent CVEs with these weaknesses
- 4.3CVE-2026-136703
A flaw was found in the Admin REST API v2 of Keycloak. This component is used by administrators to manage realm configurations, including clients. The issue occurs because the API processes a client update (PUT) request and performs payloa…
- 3.7CVE-2026-134022
TastyIgniter is an open-source online ordering, table reservation, and restaurant management system. Prior to 4.2.0, the User extension’s onRequestResetPassword() handler in src/Http/Controllers/Login.php calls resetPassword() and mailSend…
- 6.9CVE-2026-135261
MISP's brute-force lockout mechanism for login and one-time-password (OTP) authentication is susceptible to bypass through Unicode case-folding inconsistencies and input handling flaws. - Email addresses containing non-ASCII capital lette…
- 7.1CVE-2026-134329
ArcadeDB 26.2.1 before 26.11.1 contains an observable response discrepancy in MCPToolUtils.resolveDatabase, which checks database existence before authorization and returns distinct 'not authorized' and 'does not exist' errors; separately,…
- 6.5CVE-2026-76545
In Splunk Enterprise versions below 10.6.1, 10.4.5, 10.2.9, 10.0.12, and 9.4.17, an unauthenticated user could determine whether a username exists through the Representational State Transfer (REST) API or Splunk Web and lock out existing u…
- 6.5CVE-2026-133099
In JetBrains TeamCity before 2026.2.2 vCS root passwords could be extracted via the REST API property locator
- 9.8CVE-2026-128719
An issue in PHPGurukul Employee Leaves Management System (ELMS) Version 2.1 allows a remote attacker to escalate privileges via the password recovery functionality
- 6.3CVE-2026-130714
NocoDB before 2026.10.1 contains a user enumeration vulnerability that allows unauthenticated attackers to determine registered email addresses by observing differing sign-up endpoint responses. Attackers can submit addresses to signup in …
The newest records naming one of them. Each weakness's page lists them all.
Related attack patterns
- Part of
- CAPEC-312 Active OS Fingerprinting
MITRE's words, unchanged: CAPEC-331 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.