CWE-602 - Client-Side Enforcement of Server-Side Security


The software is composed of a server that relies on the client to implement a mechanism that is intended to protect the server. When the server relies on protection mechanisms placed on the client side, an attacker can modify the client-side behavior to bypass the protection mechanisms resulting in potentially unexpected interactions between the client and server. The consequences will vary, depending on what the mechanisms are trying to protect. Client-side validation checks can be easily bypassed, allowing malformed or unexpected input to pass into the application, potentially as trusted data. This may lead to unexpected states, behaviors and possibly a resulting crash. Client-side checks for authentication can be easily bypassed, allowing clients to escalate their access levels and perform unintended actions. This weakness refers to an incorrect design related to an architectural security tactic. Consider a product that consists of two or more processes or nodes that must interact closely, such as a client/server model. If the product uses protection schemes in the client in order to defend from attacks against the server, and the server does not use the same schemes, then an attacker could modify the client in a way that bypasses those schemes.

Latest vulnerabilities for CWE-602


Description of CWE-602 on Mitre website