---
title: "CWE-923: Improper Restriction of Communication Channel to Intended Endpoints"
url: https://radicalnotion.ai/cwe/cwe-923
type: cwe
description: "The product establishes a communication channel to (or from) an endpoint for privileged or protected operations, but it does not properly ensure that it is communicating with the correct endpoint."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-923: Improper Restriction of Communication Channel to Intended Endpoints

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

## Description

The product establishes a communication channel to (or from) an endpoint for privileged or protected operations, but it does not properly ensure that it is communicating with the correct endpoint.

While this issue frequently involves authentication between network-based clients and servers, other types of communication channels and endpoints can have this weakness.

## Modes of introduction

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

## Applicable platforms

**Technologies:** Web Based (Undetermined), Web Server (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Confidentiality | Gain Privileges or Assume Identity | Attackers might be able to spoof the intended endpoint from a different system or process, thus gaining the same level of access as the intended endpoint. The attacker could gains all the privileges that were intended for the original endpoint. |

## Detection methods

### 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.)

Effectiveness: High

## Demonstrative examples

### Example 1

These cross-domain policy files mean to allow Flash and Silverlight applications hosted on other domains to access its data:

Bad code:

```xml
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd">
<allow-access-from domain="*.example.com"/>
<allow-access-from domain="*"/>
</cross-domain-policy>
```

Bad code:

```xml
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="SOAPAction">
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
```

### Example 2

This Android application will remove a user account when it receives an intent to do so:

Bad code:

```java
IntentFilter filter = new IntentFilter("com.example.RemoveUser");
MyReceiver receiver = new MyReceiver();
registerReceiver(receiver, filter);

public class DeleteReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        int userID = intent.getIntExtra("userID");
        destroyUserData(userID);
    }
}
```

This application does not check the origin of the intent, thus allowing any malicious application to remove a user. Always check the origin of an intent, or create an allowlist of trusted applications using the manifest.xml file.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2022-30319 | S-bus functionality in a home automation product performs access control using an IP allowlist, which can be bypassed by a forged IP address. |
| CVE-2022-22547 | A troubleshooting tool exposes a web server on a random port between 9000-65535 that could be used for information gathering |
| CVE-2022-4390 | A WAN interface on a router has firewall restrictions enabled for IPv4, but it does not for IPv6, which is enabled by default |
| CVE-2012-2292 | Product has a Silverlight cross-domain policy that does not restrict access to another application, which allows remote attackers to bypass the Same Origin Policy. |
| CVE-2012-5810 | Mobile banking application does not verify hostname, leading to financial loss. |
| 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. |
| CVE-2000-1218 | DNS server can accept DNS updates from hosts that it did not query, leading to cache poisoning |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-62836 | Azure SQL Managed Instance Elevation of Privilege Vulnerability | critical | 10.0 | - | No | 2026-08-06 |
| CVE-2019-17440 | PAN-OS on PA-7000 Series: Improper restriction of communication to Log Forwarding Card (LFC) allows root access | critical | 10.0 | - | No | 2019-12-20 |
| CVE-2024-41889 | Pimax Play and PiTool accept WebSocket connections from unintended endpoints | critical | 9.8 | - | No | 2024-08-05 |
| CVE-2026-34205 | Home Assistant: Unauthenticated App (Add-on) Endpoints Exposed to Local Network via Host Network Mode | critical | 9.7 | - | No | 2026-03-27 |
| CVE-2017-3891 | - | critical | 9.6 | - | No | 2017-11-14 |
| CVE-2026-92173 | - | critical | 9.1 | - | No | 2026-09-30 |
| CVE-2022-43916 | IBM App Connect Enterprise Certified Container improper communications restriction | critical | 9.1 | - | No | 2025-01-30 |
| CVE-2023-28078 | - | critical | 9.1 | - | No | 2024-02-15 |
| CVE-2026-86345 | 389-ds-base: 389-ds-base: starttls plaintext-buffer retention allows on-path attacker to forge an ldap client's authentication result | critical | 9.0 | - | No | 2026-10-01 |
| CVE-2026-92172 | - | high | 8.8 | - | No | 2026-09-30 |
| CVE-2025-20261 | Cisco Integrated Management Controller Privilege Escalation Vulnerability | high | 8.8 | - | No | 2025-06-04 |
| CVE-2025-61939 | Columbia Weather Systems MicroServer Improper Restriction of Communication Channel to Intended Endpoints | high | 8.7 | - | No | 2026-01-07 |

## Related attack patterns (CAPEC)

- [CAPEC-161](https://radicalnotion.ai/capec/capec-161): Infrastructure Manipulation
- [CAPEC-481](https://radicalnotion.ai/capec/capec-481): Contradictory Destinations in Traffic Routing Schemes
- [CAPEC-501](https://radicalnotion.ai/capec/capec-501): Android Activity Hijack
- [CAPEC-697](https://radicalnotion.ai/capec/capec-697): DHCP Spoofing

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-284](https://radicalnotion.ai/cwe/cwe-284) | Improper Access Control |
| Child | [CWE-291](https://radicalnotion.ai/cwe/cwe-291) | Reliance on IP Address for Authentication |
| Child | [CWE-297](https://radicalnotion.ai/cwe/cwe-297) | Improper Validation of Certificate with Host Mismatch |
| Child | [CWE-300](https://radicalnotion.ai/cwe/cwe-300) | Channel Accessible by Non-Endpoint |
| Child | [CWE-419](https://radicalnotion.ai/cwe/cwe-419) | Unprotected Primary Channel |
| Child | [CWE-420](https://radicalnotion.ai/cwe/cwe-420) | Unprotected Alternate Channel |
| Child | [CWE-927](https://radicalnotion.ai/cwe/cwe-927) | Use of Implicit Intent for Sensitive Communication |
| Child | [CWE-940](https://radicalnotion.ai/cwe/cwe-940) | Improper Verification of Source of a Communication Channel |
| Child | [CWE-941](https://radicalnotion.ai/cwe/cwe-941) | Incorrectly Specified Destination in a Communication Channel |
| Child | [CWE-942](https://radicalnotion.ai/cwe/cwe-942) | Permissive Cross-domain Security Policy with Untrusted Domains |
| Child | [CWE-1275](https://radicalnotion.ai/cwe/cwe-1275) | Sensitive Cookie with Improper SameSite Attribute |
| Child | [CWE-1327](https://radicalnotion.ai/cwe/cwe-1327) | Binding to an Unrestricted IP Address |
| Child | [CWE-1470](https://radicalnotion.ai/cwe/cwe-1470) | Improper External Identity Verification |
| Related | [CWE-322](https://radicalnotion.ai/cwe/cwe-322) | Key Exchange without Entity Authentication |
| Related | [CWE-350](https://radicalnotion.ai/cwe/cwe-350) | Reliance on Reverse DNS Resolution for a Security-Critical Action |

## Frequently asked questions

### What is CWE-923?

The product establishes a communication channel to (or from) an endpoint for privileged or protected operations, but it does not properly ensure that it is communicating with the correct endpoint.

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

82 recorded CVEs are attributed to CWE-923, including CVE-2026-62836, CVE-2019-17440 and CVE-2024-41889.

### How is CWE-923 detected?

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.)

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

Exploiting CWE-923 can lead to: Gain Privileges or Assume Identity.

### Is CWE-923 actively exploited?

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

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

---

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