CWE-602: Client-Side Enforcement of Server-Side Security
170 CVEs have CWE-602 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 3.028%.
The product includes a server that relies on the client to implement a protection mechanism that is intended to protect the server.
Child of CWE-693: Protection Mechanism Failure
Mitigations
- 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.
Observed examples
- CVE-2024-50653: Chain: e-commerce product has a front-end restriction for coupon use (CWE-602), but the server does not restrict the number of requests for the same coupon (CWE-799)
- CVE-2022-33139: SCADA system only uses client-side authentication, allowing adversaries to impersonate other users.
- CVE-2006-6994: Chain: ASP program allows upload of .asp files (CWE-434) by bypassing client-side checks (CWE-601.
- CVE-2007-0163: steganography products embed password information in the carrier file, which can be extracted from a modified client.
- CVE-2007-0164: steganography products embed password information in the carrier file, which can be extracted from a modified client.
- CVE-2007-0100: client allows server to modify client's configuration and overwrite arbitrary files.
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-602'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-602'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).