The product compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.
This Pillar covers several possibilities: - the comparison checks one factor incorrectly; - the comparison should consider multiple factors, but it does not check at least one of those factors at all; - the comparison checks the wrong factor.
Impact: Varies by Context
java/* Ignore CWE-259 (hard-coded password) and CWE-309 (use of password system for authentication) for this example. /
c
bash