1. Archivio CVE
  2. 2018
  3. CVE-2018-25445

CVE-2018-25445

– Gravità non disponibile CVSS n/d

Descrizione

Crypt::JWT versions before 0.024 for Perl skip issuer, subject, audience and JWT ID checks when the claim is absent or the option is a plain string. decode_jwt runs the verify_iss, verify_sub, verify_aud and verify_jti checks only when the token carries the claim, and honours an option only as a Regexp or CODE reference. Any other value, such as verify_aud => 'myapp', is ignored. An application that relies on these checks accepts a validly signed token meant for a different issuer, subject or audience.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
– crypt-jwt < 0.024 –

Tipo di vulnerabilità

CWE-636 Not Failing Securely

When the product encounters an error condition or failure, its design requires it to fall back to a state that is less secure than other options that are available, such as selecting the weakest encryption algorithm or using the most permissive access control restrictions.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto
Controllo degli accessi Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione Subdivide and allocate resources and components so that a failure in one part does not affect the entire product.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 69 CVE di tipo CWE-636, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org