OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 21-Oct-2003 09:41:18
Branch: OPENPKG_1_3_SOLID HEAD Handle: 2003102108411602
Modified files:
openpkg-web news.txt
Modified files: (Branch: OPENPKG_1_3_SOLID)
openpkg-src/perl perl.patch perl.spec
Log:
fix CGI.pm form URL generation by backporting more correct security
fix from CGI.pm 3.00
Summary:
Revision Changes Path
1.6.6.2 +8 -8 openpkg-src/perl/perl.patch
1.72.2.2.2.3+1 -1 openpkg-src/perl/perl.spec
1.7089 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl/perl.patch
============================================================================
$ cvs diff -u -r1.6.6.1 -r1.6.6.2 perl.patch
--- openpkg-src/perl/perl.patch 15 Sep 2003 13:41:20 -0000 1.6.6.1
+++ openpkg-src/perl/perl.patch 21 Oct 2003 07:41:18 -0000 1.6.6.2
@@ -34,22 +34,22 @@
allows remote attackers to insert web script via a URL that is fed
into the form's action parameter
-This is a backport of the 2.99 patch for 2.81 which is the version
+This is a backport of the 3.00 patch for 2.81 which is the version
embedded with perl 5.8.0
---- lib/CGI.pm.orig 2003-09-15 14:09:34.000000000 +0200
-+++ lib/CGI.pm 2003-09-15 14:16:26.000000000 +0200
-@@ -1533,8 +1533,11 @@
+Index: lib/CGI.pm
+--- lib/CGI.pm.orig 2002-06-01 19:03:14.000000000 +0200
++++ lib/CGI.pm 2003-10-21 09:36:08.000000000 +0200
+@@ -1532,8 +1532,10 @@
+ $method = lc($method) || 'post';
$enctype = $enctype || &URL_ENCODED;
unless (defined $action) {
- $action = $self->url(-absolute=>1,-path=>1);
+- $action = $self->url(-absolute=>1,-path=>1);
- $action .= "?$ENV{QUERY_STRING}" if $ENV{QUERY_STRING};
++ $action = $self->escapeHTML($self->url(-absolute=>1,-path=>1));
+ if (length($ENV{QUERY_STRING})>0) {
+ $action .= "?".$self->escapeHTML($ENV{QUERY_STRING},1);
+ }
}
-+ $action = escape($action);
$action = qq(action="$action");
my($other) = @other ? " @other" : '';
- $self->{'.parametersToAdd'}={};
-
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/perl/perl.spec
============================================================================
$ cvs diff -u -r1.72.2.2.2.2 -r1.72.2.2.2.3 perl.spec
--- openpkg-src/perl/perl.spec 15 Sep 2003 13:41:20 -0000 1.72.2.2.2.2
+++ openpkg-src/perl/perl.spec 21 Oct 2003 07:41:18 -0000 1.72.2.2.2.3
@@ -33,7 +33,7 @@
Group: Language
License: GPL/Artistic
Version: 5.8.0
-Release: 1.3.1
+Release: 1.3.2
# list of sources
Source0: ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.7088 -r1.7089 news.txt
--- openpkg-web/news.txt 20 Oct 2003 18:29:08 -0000 1.7088
+++ openpkg-web/news.txt 21 Oct 2003 07:41:16 -0000 1.7089
@@ -1,3 +1,4 @@
+21-Oct-2003: Upgraded package: P<perl-5.8.0-1.3.2>
20-Oct-2003: Upgraded package: P<perl-sys-20031020-20031020>
20-Oct-2003: Upgraded package: P<mozilla-mplayer-1.0p2t2-20031020>
20-Oct-2003: Upgraded package: P<dhcp-agent-0.41-20031020>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]