HTTP::Body versions before 1.23_01 for Perl drop mixed-case percent escapes from urlencoded form...
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| https://cpan.org/modules | HTTP-Body |
< 1.23_01 |
1.23_01 |
Original description The description as published by the source.
HTTP::Body versions before 1.23_01 for Perl drop mixed-case percent escapes from urlencoded form fields instead of decoding them.
The decode table holds only the all-lowercase and all-uppercase spelling of each hex pair, while the escape pattern matches either case. An escape such as %aB finds no entry and is replaced with nothing, joining the bytes on either side. Hex digits in percent escapes are case-insensitive, and conforming decoders return the byte.
A remote attacker can send a field name or value that a conforming decoder in front of the application reads differently, so that pass%aBword reaches the application as password.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web github.com
- web metacpan.org
- web rfc-editor.org
- web nvd.nist.gov
- web github.com