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.
Tipo di vulnerabilità
CWE-93
Improper Neutralization of CRLF Sequences
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità |
Modificare i dati dell’applicazione |
Come si previene
Sviluppo
Avoid using CRLF as a special sequence.
Sviluppo
Appropriately filter or quote CRLF sequences in user-controlled input.
Tutte le 262 CVE di tipo CWE-93, con andamento e prevenzione