Description
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.
Vulnerability type
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.
Impact on systems
| Scope | Impact |
| Integrity |
Modify Application Data |
How to prevent it
Implementation
Avoid using CRLF as a special sequence.
Implementation
Appropriately filter or quote CRLF sequences in user-controlled input.
All 273 CWE-93 CVEs, with trend and prevention