1. Archivio CVE
  2. 2016
  3. CVE-2016-10555

CVE-2016-10555

6.5 Gravità media CVSS v3.0 · fonte NVD CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N 6.5 – Media

Descrizione

Since "algorithm" isn't enforced in jwt.decode()in jwt-simple 0.3.0 and earlier, a malicious user could choose what algorithm is sent sent to the server. If the server is expecting RSA but is sent HMAC-SHA with RSA's public key, the server will think the public key is actually an HMAC private key. This could be used to forge any data an attacker wants.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
jwt-simple project jwt-simple <= 0.3.0 node.js

Tipo di vulnerabilità

CWE-310 Problemi crittografici (categoria)

Raccoglie i problemi di progettazione e implementazione della riservatezza e integrità dei dati, come l’uso di codifiche, librerie di cifratura e algoritmi di hash. È una classificazione storica, oggi sostituita da tipi più specifici.

Categoria generica: NVD la usa quando non indica un tipo più preciso.

Tutte le 2.450 CVE di tipo CWE-310, con andamento e prevenzione

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