CWE-602 / WEAKNESS
Client-Side Enforcement of Server-Side Security
The product includes a server that relies on the client to implement a protection mechanism that is intended to protect the server.
- Category
- CWE weaknesses
- Version / scope
- CWE 5.0; release 2026-10-28; publisher status Draft
- Affected / relevant technologies
- ICS/OT / Mobile / Not Language-Specific
- Evidence
- Documentation: pinned-source excerpt checked. Execution: not tested. Editorial: curated reference.
Defensive analysis and explicitly authorized assessment only. This website performs no scans, exploitation, model calls or infrastructure changes. Indicators below are investigation opportunities, not proof of compromise or guaranteed detectors.
Mechanism and prerequisites
Review publisher context and local applicability; this reference is not execution evidence.
Potential impact
Availability DoS: Crash, Exit, or Restart An attacker may be able to easily bypass client-side validation by modifying the client, 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. Access Control Bypass Protection Mechanism Gain Privileges or Assume Identity An attacker can modify the client-side behavior to bypass the protection mechanisms. For example, client-side checks for authentication can be easily bypassed, allowing clients to escalate their access levels and perform unintended actions.
Versioned source scope
This record contains normalized, sometimes shortened source excerpts with editorial safety context. Markup and executable example blocks are omitted. Source-field verification does not establish device testing, a working detector or local applicability.
Publisher: MITRE. Release: CWE 5.0. Source checked: 2026-11-26.
Source object: CWE-602. Object modified: 2026-10-28.
Attribution and source terms (© The MITRE Corporation; reproduced with permission)Detection and investigation
- Fuzzing Use dynamic tools and techniques that interact with the software using large test suites with many diverse inputs, such as fuzz testing (fuzzing), robustness testing, and fault injection. The software's operation may slow down, but it should not become unstable, crash, or generate incorrect results.
- Manual Analysis Use tools and techniques that require manual (human) analysis, such as penetration testing, threat modeling, and interactive tools that allow the tester to record and modify an active session. These may be more effective than strictly automated techniques. This is especially the case with weaknesses that are related to design and business rules.
Preserve source timestamps, asset identity and collection context. Correlate independent evidence before attributing malicious intent. In OT, review passive evidence with the process owner; do not induce failures, replay commands or write to controllers to test a hypothesis.
Mitigation and response
- Architecture and Design For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server. Even though client-side checks provide minimal benefits with respect to server-side security, they are still useful. First, they can support intrusion detection. If the server receives input that should have been rejected by the client, then it may be an indication of an attack. Second, client-side error-checking can provide helpful feedback to the user about the expectations for valid input. Third, there may be a reduction in server-side processing time for accidental input errors, although this is typically a small savings.
- Architecture and Design If some degree of trust is required between the two entities, then use integrity checking and strong authentication to ensure that the inputs are coming from a trusted source. Design the product so that this trust is managed in a centralized fashion, especially if there are complex or numerous communication channels, in order to reduce the risks that the implementer will mistakenly omit a check in a single code path.
Apply changes through the asset owner's approved change and recovery process. Documentation review is separate from successful testing or verified production protection.
Related technical context
No protocol-specific mapping is asserted for this entry.
Publisher weakness and attack-pattern relationships
These relationships retain the publisher's source attributes and view context; they do not establish that an attack or weakness applies to a particular system.
- CAPEC-162 → Related_Weakness → CWE-602 Open related reference
- CAPEC-202 → Related_Weakness → CWE-602 Open related reference
- CAPEC-207 → Related_Weakness → CWE-602 Open related reference
- CAPEC-208 → Related_Weakness → CWE-602 Open related reference
- CAPEC-21 → Related_Weakness → CWE-602 Open related reference
- CAPEC-31 → Related_Weakness → CWE-602 Open related reference
- CAPEC-383 → Related_Weakness → CWE-602 Open related reference
- CAPEC-384 → Related_Weakness → CWE-602 Open related reference
- CAPEC-385 → Related_Weakness → CWE-602 Open related reference
- CAPEC-386 → Related_Weakness → CWE-602 Open related reference
- CAPEC-387 → Related_Weakness → CWE-602 Open related reference
- CAPEC-388 → Related_Weakness → CWE-602 Open related reference
- CWE-565 → ChildOf → CWE-602 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-162 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-202 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-207 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-208 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-21 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-31 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-383 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-384 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-385 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-386 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-387 Open related reference
- CWE-602 → Related_Attack_Pattern → CAPEC-388 Open related reference
- CWE-602 → PeerOf → CWE-290 Open related reference
- CWE-602 → PeerOf → CWE-300 Open related reference
- CWE-602 → CanPrecede → CWE-471 Open related reference
- CWE-602 → ChildOf → CWE-693 Open related reference
- CWE-603 → ChildOf → CWE-602 Open related reference
- CWE-836 → PeerOf → CWE-602 Open related reference
Authoritative sources and attribution
Identifiers and source titles belong to OWASP, MITRE, the CVE Program, CISA, NIST or the cited vendor. Source excerpts are attributed and adapted under the linked publisher license; editorial context is separate. This is not an official framework mirror. Review baseline: 2026-11-18. Live documents can change; check exact current applicability.
- https://cwe.mitre.org/data/definitions/602.html — Publisher link; not separately HTTP-checked
- MITRE CWE 5.0 source snapshot — source accessed 2026-11-26
Source review supports bounded reference text. It is not execution evidence, a completeness claim, a CVSS assessment, a compliance certification or verification of production security.
