[Mapserver-users] [Fwd: [ANNOUNCE] PHP Security Advisory: CGI vulnerability in PHP version 4.3.0]

Daniel Morissette morissette at dmsolutions.ca
Mon Feb 17 10:37:05 PST 2003


This is a multi-part message in MIME format.
--------------D755212BF173D319AA8F3C11
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

FYI, see attached message.  Anyone using PHP 4.3.0 configured in CGI
mode on a public server should probably upgrade to PHP 4.3.1.
--------------D755212BF173D319AA8F3C11
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146])
	by in3.magma.ca (Magma's Mail Server) with ESMTP id h1HIVIJb014107
	for <morisset at magma.ca>; Mon, 17 Feb 2003 13:31:19 -0500 (EST)
Received: from pb1.pair.com (pb1.pair.com [216.92.131.4])
	by xcalibur.dmsolutions.ca (8.11.2/8.11.2) with SMTP id h1HIVIt12145
	for <morissette at dmsolutions.ca>; Mon, 17 Feb 2003 13:31:18 -0500
Received: (qmail 88194 invoked by uid 1010); 17 Feb 2003 18:30:37 -0000
Mailing-List: contact php-announce-help at lists.php.net; run by ezmlm
Precedence: bulk
X-No-Archive: yes
Delivered-To: mailing list php-announce at lists.php.net
Delivered-To: moderator for php-announce at lists.php.net
Received: (qmail 88100 invoked from network); 17 Feb 2003 18:30:18 -0000
X-Authentication-Warning: cs78146114.pp.htv.fi: jani owned process doing -bs
Date: Mon, 17 Feb 2003 20:01:14 +0200 (EET)
From: Jani Taskinen <sniper at php.net>
Sender: jani at cs78146114.pp.htv.fi
Reply-To: Jani Taskinen <sniper at php.net>
To: php-announce at lists.php.net, <php-dev at lists.php.net>,
   <php-general at lists.php.net>
Message-ID: <Pine.LNX.4.44.0302170155070.27127-100000 at cs78146114.pp.htv.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
ReSent-Date: Mon, 17 Feb 2003 20:30:03 +0200 (EET)
ReSent-From: Jani Taskinen <jani at pp.htv.fi>
ReSent-To: php-announce at lists.php.net
ReSent-Subject: PHP Security Advisory: CGI vulnerability in PHP version 4.3.0
ReSent-Message-ID: <Pine.LNX.4.44.0302172030030.12785 at cs78146114.pp.htv.fi>
Subject: [ANNOUNCE] PHP Security Advisory: CGI vulnerability in PHP version 4.3.0
X-Mozilla-Status2: 00000000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   PHP Security Advisory: CGI vulnerability in PHP version 4.3.0

Issued on: February 17, 2003
Software:  PHP/CGI version 4.3.0
Platforms: All


   The PHP Group has learned of a serious security vulnerability in 
   the CGI SAPI of PHP version 4.3.0. 
   

Description

   PHP contains code for preventing direct access to the CGI binary with
   configure option "--enable-force-cgi-redirect" and php.ini option
   "cgi.force_redirect". In PHP 4.3.0 there is a bug which renders these
   options useless.
   
   NOTE: This bug does NOT affect any of the other SAPI modules.  
         (such as the Apache or ISAPI modules, etc.)


Impact

   Anyone with access to websites hosted on a web server which employs 
   the CGI module may exploit this vulnerability to gain access to any file
   readable by the user under which the webserver runs.

   A remote attacker could also trick PHP into executing arbitrary PHP code 
   if attacker is able to inject the code into files accessible by the CGI. 
   This could be for example the web server access-logs.


Solution

   The PHP Group has released a new PHP version, 4.3.1, which incorporates
   a fix for the vulnerability. All users of affected PHP versions are
   encouraged to upgrade to this latest version. The downloads web site at

      http://www.php.net/downloads.php
   
   has the new 4.3.1 source tarballs, Windows binaries and source patch
   from 4.3.0 available for download. You will only need to upgrade if 
   you're using the CGI module of PHP 4.3.0. There are no other bugfixes
   contained in this release.


Workaround

   None.

 
Credits

   The PHP Group would like to thank Kosmas Skiadopoulos for discovering 
   this vulnerability.


Copyright (c) 2003 The PHP Group.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+USOr/HlsOzK2WlERAtLKAJ9GPbPt6Vg77zIcPTGKh78WofmmeACgneDV
tUERfwp/RXtcH13vdv0CGGY=
=rYm5
-----END PGP SIGNATURE-----




-- 
PHP Announcements Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--------------D755212BF173D319AA8F3C11--




More information about the MapServer-users mailing list