From owner-freebsd-ports Thu Jul 25 5:50: 9 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B4E537B400 for ; Thu, 25 Jul 2002 05:50:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61B3643E84 for ; Thu, 25 Jul 2002 05:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6PCo2JU046666 for ; Thu, 25 Jul 2002 05:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6PCo2WH046665; Thu, 25 Jul 2002 05:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54CFA37B405 for ; Thu, 25 Jul 2002 05:45:33 -0700 (PDT) Received: from Thanatos.Shenton.Org (a3.ebbed1.client.atlantech.net [209.190.235.163]) by mx1.FreeBSD.org (Postfix) with SMTP id 56BB443E6A for ; Thu, 25 Jul 2002 05:45:32 -0700 (PDT) (envelope-from chris@Shenton.Org) Received: (qmail 9693 invoked by uid 1000); 25 Jul 2002 12:45:31 -0000 Message-Id: <20020725124531.9692.qmail@Thanatos.Shenton.Org> Date: 25 Jul 2002 12:45:31 -0000 From: Chris Shenton Reply-To: Chris Shenton To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40979: mod_php security fix breaks PHP 4.2.2: variables not passed Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40979 >Category: ports >Synopsis: mod_php security fix breaks PHP 4.2.2: variables not passed >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 25 05:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Chris Shenton >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD thanatos.shenton.org 4.6-STABLE FreeBSD 4.6-STABLE #12: Wed Jul 3 11:08:15 EDT 2002 chris@thanatos.shenton.org:/usr/obj/usr/src/sys/Thanatos i386 >Description: PHP passes variable from a form via HTTP GET (in URL) or POST variables (in HTTP body). The PHP form processor never sees those variables. This broke when I upgraded to the security fix for mod_php 4.2.2. >How-To-Repeat: A simple form, form.html:
A simple form processor, form-vars.php argc=$argc argv0=$argv[0] argv1=$argv[1] argv2=$argv[2]"; echo "
var1=$var1 var2=$var2"; echo "
"; phpinfo(); ?> Point web browser at form, hit SUBMIT, see output: argc= argv0= argv1= argv2= var1= var2= It doesn't even have a count for variables. >Fix: Unknown. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message