CWE-603
Use of Client-Side Authentication
Description
A client/server product performs authentication within client code but not in server code, allowing server-side authentication to be bypassed via a modified client that omits the authentication check.
Consequences
Access Control
—
Bypass Protection Mechanism, Gain Privileges or Assume Identity
Client-side authentication is extremely weak and may be breached easily. An attacker may read the source code or otherwise reverse-engineer the authentication mechanism, then modify the client or otherwise to access parts of the application that would otherwise be protected.
Mitigations
Phase: Architecture and Design
Do not rely on client side data. Always perform server side authentication.