CWE-599 — Missing Validation of OpenSSL Certificate
CWE-599: Missing Validation of OpenSSL Certificate
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Variant |
| Status | Incomplete |
| Likelihood of exploit | — |
Description
The product uses OpenSSL and trusts or uses a certificate without using the SSL_get_verify_result() function to ensure that the certificate satisfies all necessary security requirements.
Common consequences
- Confidentiality: Read Application Data
- Access Control: Bypass Protection Mechanism, Gain Privileges or Assume Identity
- Access Control: Gain Privileges or Assume Identity
Mitigations
Architecture and Design — Ensure that proper authentication is included in the system design.
Implementation — Understand and properly implement all checks necessary to ensure the identity of entities involved in encrypted communications.
References
- CWE page: https://cwe.mitre.org/data/definitions/599.html
- CWE list: https://cwe.mitre.org/data/index.html