VariantDraft

CWE-370Missing Check for Certificate Revocation after Initial Check

Category: other

Description

The product does not check the revocation status of a certificate after its initial revocation check, which can cause the product to perform privileged actions even after the certificate is revoked at a later time. If the revocation status of a certificate is not checked before each action that requires privileges, the system may be subject to a race condition. If a certificate is revoked after the initial check, all subsequent actions taken with the owner of the revoked certificate will lose all benefits guaranteed by the certificate. In fact, it is almost certain that the use of a revoked certificate indicates malicious activity.

Common consequences· 3

  • Access Control — Gain Privileges or Assume Identity
    Trust may be assigned to an entity who is not who it claims to be.
  • Integrity — Modify Application Data
    Data from an untrusted (and possibly malicious) source may be integrated.
  • Confidentiality — Read Application Data
    Data may be disclosed to an entity impersonating a trusted entity, resulting in information disclosure.

Potential mitigations· 1

  • [Architecture and Design]Ensure that certificates are checked for revoked status before each use of a protected resource. If the certificate is checked before each access of a protected resource, the delay subject to a possible race condition becomes almost negligible and significantly reduces the risk associated with this issue.

Related CAPEC attack patterns· 2

CAPEC-26CAPEC-29

References

  1. https://cwe.mitre.org/data/definitions/370.html

Exploits (incoming)2

TypeTargetConfidenceTier
AttackPatternLeveraging Race Conditionscapec-26100%live
AttackPatternLeveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditionscapec-29100%live

(incoming)1

TypeTargetConfidenceTier
VulnerabilityCVE-2025-67108cve-2025-671080%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Improper Check for Certificate Revocation
CWE
Improper Validation of Certificate with Host Mismatch
CWE
Improper Certificate Validation
CWE
Improper Verification of Cryptographic Signature
CWE
Improper Following of a Certificate's Chain of Trust
CWE
Missing Validation of OpenSSL Certificate
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.