Katalog CWE

CWE-296 · Słabość

Improper Following of a Certificate's Chain of Trust

Abstrakcja
Bazowa
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

The product does not follow, or incorrectly follows, the chain of trust for a certificate back to a trusted root certificate.

There are several ways in which the chain of trust might be broken, including but not limited to:

- Any certificate in the chain is self-signed, unless it is the root.

- Not every intermediate certificate is checked, starting from the original certificate all the way up to the root certificate.

- An intermediate, CA-signed certificate does not have the expected Basic Constraints or other important extensions.

- The root certificate has been compromised or authorized to the wrong party.

Skutki

  • Non-Repudiation

    Hide Activities

    Exploitation 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 Commands

    Data, requests, or actions taken by the attacking entity can be carried out as a spoofed benign entity.

Zapobieganie

  • Architecture and Design

    Ensure that proper certificate checking is included in the system design.

  • Implementation

    Understand, and properly implement all checks necessary to ensure the integrity of certificate trust integrity.

  • 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 full chain of trust.

Przykłady podatności

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific, Not Technology-Specific, Web Based

Źródła

  1. The CLASP Application Security Process — Secure Software, Inc., 2005
  2. The Most Dangerous Code in the World: Validating SSL Certificates in Non-Browser Software — Martin Georgiev, Subodh Iyengar, Suman Jana, Rishita Anubhai, Dan Boneh, Vitaly Shmatikov, 2012
  3. 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.