1. Archivio CVE
  2. 2021
  3. CVE-2021-29481

CVE-2021-29481

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

Descrizione

Ratpack is a toolkit for creating web applications. In versions prior to 1.9.0, the default configuration of client side sessions results in unencrypted, but signed, data being set as cookie values. This means that if something sensitive goes into the session, it could be read by something with access to the cookies. For this to be a vulnerability, some kind of sensitive data would need to be stored in the session and the session cookie would have to leak. For example, the cookies are not configured with httpOnly and an adjacent XSS vulnerability within the site allowed capture of the cookies. As of version 1.9.0, a securely randomly generated signing key is used. As a workaround, one may supply an encryption key, as per the documentation recommendation.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
ratpack project ratpack < 1.9.0 –

Tipo di vulnerabilità

CWE-312 Informazioni sensibili conservate in chiaro

Il prodotto conserva informazioni sensibili senza cifrarle, in una risorsa che potrebbe essere accessibile ad altri.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo · Configurazione del sistema · Esercizio When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to encrypt the data at rest.
Sviluppo · Configurazione del sistema · Esercizio In some systems/environments such as cloud, the use of double encryption (at both the software and hardware layer) might be required, and the developer might be solely responsible for both layers, instead of shared responsibility with the administrator of the broader system/environment.

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

Tutte le 846 CVE di tipo CWE-312, con andamento e prevenzione

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