---
title: "CWE-300: Channel Accessible by Non-Endpoint"
url: https://radicalnotion.ai/cwe/cwe-300
type: cwe
description: "The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-300: Channel Accessible by Non-Endpoint

- **Abstraction:** Class
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 57
- **Of those, in CISA KEV:** 0
- **New in 2026:** 8
- **CWE catalog version:** 4.21

## Description

The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint.

## Alternate terms

- Adversary-in-the-Middle / AITM
- Attacker-in-the-Middle / AITM
- Man-in-the-Middle / MITM
- Person-in-the-Middle / PITM
- Monkey-in-the-Middle
- Monster-in-the-Middle
- Manipulator-in-the-Middle
- On-path attack
- Interception attack

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Access Control | Read Application Data, Modify Application Data, Gain Privileges or Assume Identity | There can be misplaced trust in the entity at the other end of the channel. An attacker can interpose between the communicating entities and masquerade as the original entity. In the absence of sufficient verification of identity, such an attacker can eavesdrop and potentially modify the communication between the original entities. |

## Potential mitigations

### Implementation

In order to establish secure communication between two parties, it is often important to adequately verify the identity of entities at each end of the communication channel. Always fully authenticate both ends of any communications channel.

### Architecture and Design

Adhere to the principle of complete mediation.

### Implementation

A certificate binds an identity to a cryptographic key to authenticate a communicating party. Often, the certificate takes the encrypted form of the hash of the identity of the subject, the public key, and information such as time of issue or expiration using the issuer's private key. The certificate can be validated by deciphering the certificate with the issuer's public key. See also X.509 certificate signature chains and the PGP certification structure.

## Detection methods

### Automated Dynamic Analysis

Some tools can act as proxy servers that allow the tester to intercept packets or messages, inspect them, and modify them before sending them to the destination in order to see if the modified packets are still accepted by the receiving component.

### Automated Dynamic Analysis

Dynamic Application Security Testing (DAST) tools can be used to detect network traffic without encryption and/or verification. The affected protocol may be subject to Adversary-in-the-Middle attacks. Some tools act as proxy servers that allow the tester to inspect and modify packets/messages to see if they are still accepted by the receiving component.

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.) The analysis could identify use of protocols that are subject to Adversary-in-the-Middle attacks.

Effectiveness: Moderate. Encryption and other protection mechanisms may be provided in the environment (e.g., by a load balancer or firewall that is positioned in front of a server), but this cannot be detected by SAST tools.

## Demonstrative examples

### Example 1

In the Java snippet below, data is sent over an unencrypted channel to a remote server.

Bad code:

```java
Socket sock;
PrintWriter out;

try {
    sock = new Socket(REMOTE_HOST, REMOTE_PORT);
    out = new PrintWriter(echoSocket.getOutputStream(), true);

    // Write data to remote host via socket output stream.
    ...
}
```

By eavesdropping on the communication channel or posing as the endpoint, an attacker would be able to read all of the transmitted data.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2014-1266 | Chain: incorrect "goto" in Apple SSL product bypasses certificate validation, allowing Adversary-in-the-Middle (AITM) attack (Apple "goto fail" bug). CWE-705 (Incorrect Control Flow Scoping) -\> CWE-561 (Dead Code) -\> CWE-295 (Improper Certificate Validation) -\> CWE-393 (Return of Wrong Status Code) -\> CWE-300 (Channel Accessible by Non-Endpoint). The code's whitespace indentation did not reflect the actual control flow (CWE-1114) and did not explicitly delimit the block (CWE-483), which could have made it more difficult for human code auditors to detect the vulnerability. |

## Real CVEs with this weakness (sample of 12 of 57)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2019-3793 | Invitations Service supports HTTP connections | critical | 9.8 | - | No | 2019-04-24 |
| CVE-2017-7480 | rkhunter: File download via http might lead to RCE | critical | 9.8 | - | No | 2017-07-21 |
| CVE-2009-3555 | Apache Tomcat affected by vulnerability in TLS and SSL protocol | critical | 9.8 | - | No | 2009-11-09 |
| CVE-2025-54792 | LocalSend is Vulnerable to Man-in-the-Middle Attacks, Leading to File Interception | critical | 9.3 | - | No | 2025-08-01 |
| CVE-2023-31004 | IBM Security Access Manager Container gain access | critical | 9.0 | - | No | 2024-02-03 |
| CVE-2026-12991 | Multiple vulnerabilities in Ghost Robotics' Vision 60 | high | 8.7 | - | No | 2026-07-27 |
| CVE-2024-31206 | Use of Unencrypted HTTP Request in dectalk-tts | high | 8.2 | - | No | 2024-04-04 |
| CVE-2020-11024 | Man-in-the-middle attack in Moonlight iOS/tvOS | high | 8.2 | - | No | 2020-04-29 |
| CVE-2025-31214 | iOS and iPadOS: Baseband - An attacker in a privileged network position may be able to intercept network traffic | high | 8.1 | - | No | 2025-05-12 |
| CVE-2024-36553 | - | high | 8.1 | - | No | 2025-02-06 |
| CVE-2021-21953 | Anker Eufy Homebase 2 home\_security process\_msg() authentication bypass vulnerability | high | 8.1 | - | No | 2021-12-22 |
| CVE-2021-41033 | - | high | 8.1 | - | No | 2021-09-13 |

## Related attack patterns (CAPEC)

- [CAPEC-466](https://radicalnotion.ai/capec/capec-466): Leveraging Active Adversary in the Middle Attacks to Bypass Same Origin Policy
- [CAPEC-57](https://radicalnotion.ai/capec/capec-57): Utilizing REST's Trust in the System Resource to Obtain Sensitive Data
- [CAPEC-589](https://radicalnotion.ai/capec/capec-589): DNS Blocking
- [CAPEC-590](https://radicalnotion.ai/capec/capec-590): IP Address Blocking
- [CAPEC-612](https://radicalnotion.ai/capec/capec-612): WiFi MAC Address Tracking
- [CAPEC-613](https://radicalnotion.ai/capec/capec-613): WiFi SSID Tracking
- [CAPEC-615](https://radicalnotion.ai/capec/capec-615): Evil Twin Wi-Fi Attack
- [CAPEC-662](https://radicalnotion.ai/capec/capec-662): Adversary in the Browser (AiTB)
- [CAPEC-94](https://radicalnotion.ai/capec/capec-94): Adversary in the Middle (AiTM)

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-923](https://radicalnotion.ai/cwe/cwe-923) | Improper Restriction of Communication Channel to Intended Endpoints |
| Peer | [CWE-602](https://radicalnotion.ai/cwe/cwe-602) | Client-Side Enforcement of Server-Side Security |
| Peer | [CWE-603](https://radicalnotion.ai/cwe/cwe-603) | Use of Client-Side Authentication |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Man-in-the-middle (MITM) | - | - |
| WASC | Routing Detour | 32 | - |
| The CERT Oracle Secure Coding Standard for Java (2011) | Do not rely on the default automatic signature verification provided by URLClassLoader and java.util.jar | SEC06-J | - |

## Frequently asked questions

### What is CWE-300?

The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint.

### What CVEs are caused by CWE-300?

57 recorded CVEs are attributed to CWE-300, including CVE-2019-3793, CVE-2017-7480 and CVE-2009-3555.

### How do you prevent CWE-300?

In order to establish secure communication between two parties, it is often important to adequately verify the identity of entities at each end of the communication channel. Always fully authenticate both ends of any communications channel.

### How is CWE-300 detected?

Automated Dynamic Analysis: Some tools can act as proxy servers that allow the tester to intercept packets or messages, inspect them, and modify them before sending them to the destination in order to see if the modified packets are still accepted by the receiving component.

### What are the consequences of CWE-300?

Exploiting CWE-300 can lead to: Read Application Data, Modify Application Data, Gain Privileges or Assume Identity.

### Is CWE-300 actively exploited?

57 recorded CVEs are caused by CWE-300; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/300.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-300). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
