CWE•Base•Draft•4 recent CVEs
CWE-296Improper Following of a Certificate's Chain of Trust
Description
The product does not follow, or incorrectly follows, the chain of trust for a certificate back to a trusted root certificate.
[object Object]
Common consequences
- Non-Repudiation→Hide ActivitiesExploitation of this flaw can lead to the trust of data that may have originated with a spoofed source.
- Integrity,Confidentiality,Availability,Access Control→Gain Privileges or Assume Identity,Execute Unauthorized Code or CommandsData, requests, or actions taken by the attacking entity can be carried out as a spoofed benign entity.
Potential mitigations
- Architecture and DesignEnsure that proper certificate checking is included in the system design.
- ImplementationUnderstand, and properly implement all checks necessary to ensure the integrity of certificate trust integrity.
- ImplementationIf certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the full chain of trust.