1. Archivio CVE
  2. 2020
  3. CVE-2020-8434

CVE-2020-8434

9.8 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

Jenzabar JICS (aka Internet Campus Solution) before 9.0.1 Patch 3, 9.1 before 9.1.2 Patch 2, and 9.2 before 9.2.2 Patch 8 has session cookies that are a deterministic function of the username. There is a hard-coded password to supply a PBKDF feeding into AES to encrypt a username and base64 encode it to a client-side cookie for persistent session authentication. By knowing the key and algorithm, an attacker can select any username, encrypt it, base64 encode it, and save it in their browser with the correct JICSLoginCookie cookie format to impersonate any real user in the JICS database without the need for authenticating (or verifying with MFA if implemented).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
jenzabar internet campus solution <= 9.0.1 –
jenzabar internet campus solution >= 9.1.0 <= 9.1.2 –
jenzabar internet campus solution >= 9.2.0 <= 9.2.2 –

Tipo di vulnerabilità

CWE-384 Session fixation

Al momento dell’accesso, o dell’apertura di una nuova sessione, il prodotto non invalida l’identificativo di sessione già esistente: un attaccante che lo conosce può impossessarsi della sessione autenticata.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione Invalidate any existing session identifiers prior to authorizing a new user session.
Architettura e progettazione For platforms such as ASP that do not generate new values for sessionid cookies, utilize a secondary cookie. In this approach, set a secondary cookie on the user's browser to a random value and set a session variable to the same value. If the session variable and the cookie value ever don't match, invalidate the session, and force the user to log on again.
Esercizio · Firewall Usa un firewall applicativo (WAF) in grado di rilevare attacchi contro questo tipo di vulnerabilità. È utile quando il codice non può essere corretto (perché controllato da terzi), come misura d’emergenza in attesa di interventi più completi, o come difesa aggiuntiva.

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

Tutte le 445 CVE di tipo CWE-384, con andamento e prevenzione

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