CWE-923: Improper Restriction of Communication Channel to Intended Endpoints
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.
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. While this issue frequently involves authentication between network-based clients and servers, other types of communication channels and endpoints can have this weakness.
- Abstraction
- ClassAn abstract weakness, independent of any specific language or technology.
- Likelihood of exploit
- Not rated by MITRE
- Status
- Incomplete
Common consequences
- IntegrityConfidentiality
Gain Privileges or Assume Identity
If an attacker can spoof the endpoint, the attacker gains all the privileges that were intended for the original endpoint.
Related weaknesses
Parent weaknesses
Child weaknesses
- CWE-291Reliance on IP Address for Authentication
- CWE-297Improper Validation of Certificate with Host Mismatch
- CWE-300Channel Accessible by Non-Endpoint
- CWE-419Unprotected Primary Channel
- CWE-420Unprotected Alternate Channel
- CWE-940Improper Verification of Source of a Communication Channel
- CWE-941Incorrectly Specified Destination in a Communication Channel
- CWE-942Permissive Cross-domain Security Policy with Untrusted Domains
- CWE-1275Sensitive Cookie with Improper SameSite Attribute