CWE-187
Partial String Comparison
The product performs a comparison that only examines a portion of a factor before determining whether there is a match, such as a substring, leading to resultant weaknesses.
Mitigation
Phase: Testing
Description:
- Thoroughly test the comparison scheme before deploying code into production. Perform positive testing as well as negative testing.
No CAPEC attack patterns related to this CWE.