Umbra Wiki weakness weakness/CWE-299
Back to wiki

CWE-299 — Improper Check for Certificate Revocation

provenance: imported · CWE: CWE-299

CWE-299: Improper Check for Certificate Revocation

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Draft
Likelihood of exploit Medium

Description

The product does not check or incorrectly checks the revocation status of a certificate, which may cause it to use a certificate that has been compromised.

An improper check for certificate revocation is a far more serious flaw than related certificate failures. This is because the use of any revoked certificate is almost certainly malicious. The most common reason for certificate revocation is compromise of the system in question, with the result that no legitimate servers will be using a revoked certificate, unless they are sorely out of sync.

Common consequences

  • Access Control: Gain Privileges or Assume Identity
  • Integrity, Other: Other
  • Confidentiality: Read Application Data

Mitigations

Architecture and Design — Ensure that certificates are checked for revoked status.

Implementation — If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the revoked status.

References

  • CWE page: https://cwe.mitre.org/data/definitions/299.html
  • CWE list: https://cwe.mitre.org/data/index.html