CGI versions before 5.00 for Perl allow open redirects and script injection via URLs built from REQUEST_URI in url and start_form. url(-absolute=>1),...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12libcgi-pm-perl |
All versions→ Not listed |
Not listed |
| Debian:13libcgi-pm-perl |
All versions→ Not listed |
Not listed |
| Debian:14libcgi-pm-perl |
< 5.02-1→ 5.02-1 |
5.02-1 |
Original description The description as published by the source.
CGI versions before 5.00 for Perl allow open redirects and script injection via URLs built from REQUEST_URI in url and start_form. url(-absolute=>1), url(-relative=>1) and the default start_form action are built from the client-supplied REQUEST_URI without validation. The result can be protocol-relative (//evil.example), absolute-form (http://evil.example/) or contain backslashes, and url(-relative=>1) can return a javascript: URL. Links and form posts built from these URLs can go to another host.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org