HTTP::Session versions before 0.54 for Perl allow memcached command injection via unfiltered session ids in HTTP::Session::Store::CHI
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANhttp-session |
< 0.54→ 0.54 |
0.54 |
Original description The description as published by the source.
HTTP::Session versions before 0.54 for Perl allow memcached command injection via unfiltered session ids in HTTP::Session::Store::CHI.
The session id from the client's cookie reaches the CHI cache unchanged. The sibling HTTP::Session::Store::Memcached rejects ids that contain control characters, but the CHI store has no such check, and CHI does not escape keys for its memcached drivers.
With a memcached driver, a CR and LF in the session id end the cache command early, and the server reads the bytes after them as further commands.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web metacpan.org
- web github.com
- web openwall.com
- web cpan.org