Katalog CWE

CWE-295 · Słabość

Improper Certificate Validation

Abstrakcja
Bazowa
Status
Szkic
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 validate, or incorrectly validates, a certificate.

Skutki

  • Integrity, Authentication

    Bypass Protection Mechanism; Gain Privileges or Assume Identity

    When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The product might connect to a malicious host while believing it is a trusted host, or the product might be deceived into accepting spoofed data that appears to originate from a trusted host.

Zapobieganie

  • Architecture and Design, Implementation

    Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.

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

Przykłady podatności

Słabość nadrzędna

Pokrewna

Słabości podrzędne

Kiedy powstaje

Dotyczy

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

Źródła

  1. Why Eve and Mallory Love Android: An Analysis of Android SSL (In)Security — Sascha Fahl, Marian Harbach, Thomas Muders, Matthew Smith, Lars Baumgärtner, Bernd Freisleben, 2012
  2. Computer Security: Art and Science — M. Bishop, Addison-Wesley, 2003
  3. State-of-the-Art Resources (SOAR) for Software Vulnerability Detection, Test, and Evaluation — Gregory Larsen, E. Kenneth Hong Fong, David A. Wheeler, Rama S. Moorthy, 2014

Wpis z katalogu CWE 4.20.