Weakness · High
CWE-599: Missing Validation of OpenSSL Certificate
What it is
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.
- Severity (our rating)
- High
- Likelihood of exploit
- Not rated by MITRE
- Introduced during
- Implementation
- Exploited in the wild
- No CVE in CISA's catalog
In more detail
This could allow an attacker to use an invalid certificate to claim to be a trusted host, use expired certificates, or conduct other attacks that could be detected if the certificate is properly validated.
What an attacker can do
- Read Application Data (Confidentiality)
- Bypass Protection Mechanism (Access Control)
- Gain Privileges or Assume Identity (Access Control)
How to prevent it
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.
H2 Security
Found it in your code?
We review where it appears, fix it with your team, and check it was not already used against you.
Talk to our teamT Academy
Stop writing it in the first place
Learn to build software and systems without weaknesses like this one, with practice on real hosts in your browser, every objective checked on the machine.
Start freeSource: MITRE Common Weakness Enumeration, CWE version 4.19.1. CWE is a trademark of The MITRE Corporation.