Descrizione

HTTP::Session versions before 0.43 for Perl allow memcached command injection via unfiltered session ids in HTTP::Session::Store::Memcached. The session id from the client's cookie reaches memcached unchanged as the cache key. A CR and LF in the session id end the cache command early, and the server reads the bytes after them as further commands.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.8, EPSS 1.7% (percentile 78).

Versioni da aggiornare

  • http-session: vulnerabili le versioni precedenti alla 0.43 → aggiornare alla 0.43 o successiva.

Indicazioni del vendor

Soluzione (testo originale del vendor):

Upgrade to HTTP::Session 0.43 or later. Note that HTTP::Session 0.54 includes additional security fixes, but has been marked as deprecated. Users should migrate to an alternative such as Plack::Middleware::Session.

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.

Verifica

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Configurazioni interessate

VendorProdottoVersioni vulnerabiliCorretta in
— http-session < 0.43 0.43

Riferimenti