CAPECattack pattern

CAPEC-22 Exploiting Trust in Client

High Official page ↗
Abstraction
Meta
Status
Draft
Likelihood of attack
High
Typical severity
High
CAPEC version
3.9

Description

An attack of this type exploits vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by communicating directly with the server where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.

Prerequisites

• Server software must rely on client side formatted and validated values, and not reinforce these checks on the server side.

Skills required

• [Medium] The attacker must have fairly detailed knowledge of the syntax and semantics of client/server communications protocols and grammars

Consequences

• Confidentiality, Integrity, Availability: Execute Unauthorized Commands • Confidentiality, Access Control, Authorization: Gain Privileges • Confidentiality: Read Data

Mitigations

• Design: Ensure that client process and/or message is authenticated so that anonymous communications and/or messages are not accepted by the system. • Design: Do not rely on client validation or encoding for security purposes. • Design: Utilize digital signatures to increase authentication assurance. • Design: Utilize two factor authentication to increase authentication assurance. • Implementation: Perform input validation for all remote content.

Related

Weakness · CWE (5)

  • CWE-20 Improper Input Validation weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-287 Improper Authentication weakness
  • CWE-290 Authentication Bypass by Spoofing weakness
  • CWE-693 Protection Mechanism Failure weakness

Referenced by CAPEC · child of (4)

  • CAPEC-202 Create Malicious Client attack pattern
  • CAPEC-207 Removing Important Client Functionality attack pattern
  • CAPEC-39 Manipulating Opaque Client-based Data Tokens attack pattern
  • CAPEC-77 Manipulating User-Controlled Variables attack pattern

Referenced by CWE · attack pattern (5)

  • CWE-20 Improper Input Validation weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-287 Improper Authentication weakness
  • CWE-290 Authentication Bypass by Spoofing weakness
  • CWE-693 Protection Mechanism Failure weakness