Katalog CWE

CWE-298 · Słabość

Improper Validation of Certificate Expiration

Abstrakcja
Wariant
Status
Szkic
Ryzyko wykorzystania
niskie
Dodano
19 lipca 2006
Ostatnia zmiana
30 kwietnia 2026

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

A certificate expiration is not validated or is incorrectly validated.

Skutki

  • Integrity, Other

    Other

    The data read from the system vouched for by the expired certificate may be flawed due to malicious spoofing.

  • Authentication, Other

    Other

    Trust may be assigned to certificates that have been abandoned due to age.

Zapobieganie

  • Architecture and Design

    Check for expired certificates and provide the user with adequate information about the nature of the problem and how to proceed.

  • 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 expiration.

Przykłady podatności

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Źródła

  1. The CLASP Application Security Process — Secure Software, Inc., 2005
  2. 24 Deadly Sins of Software Security — Michael Howard, David LeBlanc, John Viega, "Sin 23: Improper Use of PKI, Especially SSL." Page 347, McGraw-Hill, 2010

Wpis z katalogu CWE 4.20.