Perl CGI open redirect in redirect URL decoding
CGI
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| CGI |
| No fix yet |
Original description
CGI versions before 5.00 for Perl allow open redirects via HTML entity decoding of the URL after application validation in redirect.
redirect decodes HTML entities in its URL before writing the Location header, so a URL the application has already validated can change meaning. For example, //evil.example/ becomes //evil.example/ and sends the user to another host.
From the CVE record · CPANSec