[ advisories | exploits | discussions | news | conventions | security tools | texts & papers ]
 main menu
- feedback
- advertising
- privacy
- FightAIDS
- newsletter
- news
 
 discussions
- read forum
- new topic
- search
 

 meetings
- meetings list
- recent additions
- add your info
 
 top 100 sites
- visit top sites
- sign up now
- members
 
 webmasters

- add your url
- add domain
- search box
- link to us

 
 projects
- our projects
- free email
 
 m4d network
- security software
- secureroot
- m4d.com
Home : Advisories : mod_php3 update

Title: mod_php3 update
Released by: Mandrake
Date: 13th September 2000
Printable version: Click here
-----BEGIN PGP SIGNED MESSAGE-----

Hash: SHA1



________________________________________________________________________



                Linux-Mandrake Security Update Advisory

________________________________________________________________________



Package name: mod_php3

Date: September 13th, 2000

Advisory ID: MDKSA-2000:048



Affected versions: 6.1, 7.0, 7.1

________________________________________________________________________



Problem Description:



 A problem exists with PHP3 and PHP4 scripts regarding RFC 1867-based 

 file uploads.  PHP saves uploaded files in a temporary directory on the

 server, using a temporary name that is referenced as the variable  $FOO 

 where "FOO" is the name of the file input tag in the submitted form.

 Many PHP scripts process $FOO without taking measures to ensure that it

 is in fact a file that resides in the temporary directory.  Because of

 this, it is possible for a remote attacker to supply an arbitrary file

 name as the value for $FOO by submitting a standard form input tag by

 that name, and thus cause the PHP script to process arbitrary files.

 The vulnerability exists in various scripts, and not necessarily with

 PHP itself, as the script determines what actions to perform on the

 uploaded file.  The new versions of both PHP3 and PHP4 make it easier

 to secure scripts from this particular vulnerability.  They include a

 new function that makes it easy to determine whether a certain

 filename is a temporary uploaded file or not:



   /* Text whether a file is an uploaded file or not */

   is_uploaded_file($path);



 While there is no security vulnerability with PHP3 and PHP4, this

 upgrade is offered as a convenience because it includes the above

 illustrated method of file testing.

________________________________________________________________________



Please verify these md5 checksums of the updates prior to upgrading to

ensure the integrity of the downloaded package.  You can do this by

running the md5sum program on the downloaded package by using

"md5sum package.rpm".



Linux-Mandrake 6.1:

b73921df8913b255541ed5ad3c0f38f2  6.1/RPMS/imap-4.7-7mdk.i586.rpm

2ed6d853e9555ba8207482b82252ca0e  6.1/RPMS/imap-devel-4.7-7mdk.i586.rpm

94054ca71808f5511b28b36c54251fca  6.1/RPMS/mod_php3-3.0.17RC1-1mdk.i586.rpm

43791e71c5bf173aafb1f04b63f401a4  6.1/RPMS/mod_php3-imap-3.0.17RC1-1mdk.i586.rpm

5125bb87025dc94469e39a5dca6da672  6.1/RPMS/mod_php3-manual-3.0.17RC1-1mdk.i586.rpm

94cde6fa8de9881e65c1c9c644db58a0  6.1/RPMS/mod_php3-pgsql-3.0.17RC1-1mdk.i586.rpm

dc255c952fa1bbc6da7d58f07cb20883  6.1/SRPMS/imap-4.7-7mdk.src.rpm

6b9acb9b600b966381bcdd171310496e  6.1/SRPMS/mod_php3-3.0.17RC1-1mdk.src.rpm



Linux-Mandrake 7.0:

ccfa45efb7b75e9a1b339ce5ee9d2e6a  7.0/RPMS/mod_php3-3.0.17RC1-1mdk.i586.rpm

d92347eb3565e71d39eadcba72190cb1  7.0/RPMS/mod_php3-imap-3.0.17RC1-1mdk.i586.rpm

8e0dd7c78b185e90c05de23795ad9269  7.0/RPMS/mod_php3-manual-3.0.17RC1-1mdk.i586.rpm

314dc1b6ff55cc2093aa4f8b62e08186  7.0/RPMS/mod_php3-pgsql-3.0.17RC1-1mdk.i586.rpm

6b9acb9b600b966381bcdd171310496e  7.0/SRPMS/mod_php3-3.0.17RC1-1mdk.src.rpm



Linux-Mandrake 7.1:

aa29633b12d3e6e20fc3221824879bff  7.1/RPMS/mod_php3-3.0.17RC1-2mdk.i586.rpm

da652b353687feb00ffc30dcc9bf1b45  7.1/RPMS/mod_php3-imap-3.0.17RC1-2mdk.i586.rpm

09c1de4144e9dd8582290f52693119bb  7.1/RPMS/mod_php3-ldap-3.0.17RC1-2mdk.i586.rpm

ccca57603fec136523756f1fee8dee22  7.1/RPMS/mod_php3-manual-3.0.17RC1-2mdk.i586.rpm

eb7eb68a90961d5f46764da4b3c96b36  7.1/RPMS/mod_php3-mysql-3.0.17RC1-2mdk.i586.rpm

b23daef16f43532421d66db6c586ddac  7.1/RPMS/mod_php3-pgsql-3.0.17RC1-2mdk.i586.rpm

11da77983129c163e8789ee191db3693  7.1/SRPMS/mod_php3-3.0.17RC1-2mdk.src.rpm

________________________________________________________________________



To upgrade automatically, use « MandrakeUpdate ».  



If you want to upgrade manually, download the updated package from one 

of our FTP server mirrors and uprade with "rpm -Uvh package_name".  



You can download the updates directly from:

  http://ftp.linux.tucows.com/pub/distributions/Mandrake/Mandrake/updates

  http://ftp.free.fr/pub/Distributions_Linux/Mandrake/updates



Or try one of the other mirrors listed at:



  http://www.linux-mandrake.com/en/ftp.php3.  



Updated packages are available in the "updates/[ver]/RPMS/" directory.  

For example, if you are looking for an updated RPM package for

Linux-Mandrake 7.1, look for it in "updates/7.1/RPMS/".  Updated source

RPMs are available as well, but you generally do not need to download

them.



Please be aware that sometimes it takes the mirrors a few hours to 

update, so if you want an immediate upgrade, please use one of the two 

above-listed mirrors.



You can view other security advisories for Linux-Mandrake at:



  http://www.linux-mandrake.com/en/security/



If you want to report vulnerabilities, please contact



  security@linux-mandrake.com

________________________________________________________________________



Linux-Mandrake has two security-related mailing list services that 

anyone can subscribe to:



security-announce@linux-mandrake.com



  Linux-Mandrake's security announcements mailing list.  Only 

  announcements are sent to this list and it is read-only.



security-discuss@linux-mandrake.com



  Linux-Mandrake's security discussion mailing list.  This list is open

  to anyone to discuss Linux-Mandrake security specifically and Linux

  security in general.



To subscribe to either list, send a message to

  sympa@linux-mandrake.com

with "subscribe [listname]" in the body of the message.



To remove yourself from either list, send a message to

  sympa@linux-mandrake.com

with "unsubscribe [listname]" in the body of the message.



To get more information on either list, send a message to

  sympa@linux-mandrake.com

with "info [listname]" in the body of the message.



Optionally, you can use the web interface to subscribe to or unsubscribe

from either list:



  http://www.linux-mandrake.com/en/flists.php3#security

________________________________________________________________________



Type Bits/KeyID     Date       User ID

pub  1024D/22458A98 2000-07-10 Linux Mandrake Security Team 

  





- -----BEGIN PGP PUBLIC KEY BLOCK-----

Version: GnuPG v1.0.1 (GNU/Linux)

Comment: For info see http://www.gnupg.org



mQGiBDlp594RBAC2tDozI3ZgQsE7XwxurJCJrX0L5vx7SDByR5GHDdWekGhdiday

L4nfUax+SeR9SCoCgTgPW1xB8vtQc8/sinJlMjp9197a2iKM0FOcPlkpa3HcOdt7

WKJqQhlMrHvRcsivzcgqjH44GBBJIT6sygUF8k0lU6YnMHj5MPc/NGWt8wCg9vKo

P0l5QVAFSsHtqcU9W8cc7wMEAJzQsAlnvPXDBfBLEH6u7ptWFdp0GvbSuG2wRaPl

hynHvRiE01ZvwbJZXsPsKm1z7uVoW+NknKLunWKB5axrNXDHxCYJBzY3jTeFjsqx

PFZkIEAQphLTkeXXelAjQ5u9tEshPswEtMvJvUgNiAfbzHfPYmq8D6x5xOw1IySg

2e/LBACxr2UJYCCB2BZ3p508mAB0RpuLGukq+7UWiOizy+kSskIBg2O7sQkVY/Cs

iyGEo4XvXqZFMY39RBdfm2GY+WB/5NFiTOYJRKjfprP6K1YbtsmctsX8dG+foKsD

LLFs7OuVfaydLQYp1iiN6D+LJDSMPM8/LCWzZsgr9EKJ8NXiyrQ6TGludXggTWFu

ZHJha2UgU2VjdXJpdHkgVGVhbSA8c2VjdXJpdHlAbGludXgtbWFuZHJha2UuY29t

PohWBBMRAgAWBQI5aefeBAsKBAMDFQMCAxYCAQIXgAAKCRCaqNDQIkWKmK6LAKCy

/NInDsaMSI+WHwrquwC5PZrcnQCeI+v3gUDsNfQfiKBvQSANu1hdulq5AQ0EOWnn

7xAEAOQlTVY4TiNo5V/iP0J1xnqjqlqZsU7yEBKo/gZz6/+hx75RURe1ebiJ9F77

9FQbpJ9Epz1KLSXvq974rnVb813zuGdmgFyk+ryA/rTR2RQ8h+EoNkwmATzRxBXV

Jb57fFQjxOu4eNjZAtfII/YXb0uyXXrdr5dlJ/3eXrcO4p0XAAMFBACCxo6Z269s

+A4v8C6Ui12aarOQcCDlV8cVG9LkyatU3FNTlnasqwo6EkaP572448weJWwN6SCX

Vl+xOYLiK0hL/6Jb/O9Agw75yUVdk+RMM2I4fNEi+y4hmfMh2siBv8yEkEvZjTcl

3TpkTfzYky85tu433wmKaLFOv0WjBFSikohGBBgRAgAGBQI5aefvAAoJEJqo0NAi

RYqYid0AoJgeWzXrEdIClBOSW5Q6FzqJJyaqAKC0Y9YI3UFlE4zSIGjcFlLJEJGX

lA==

=WxWn

- -----END PGP PUBLIC KEY BLOCK-----



-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.0.2 (GNU/Linux)

Comment: For info see http://www.gnupg.org



iD8DBQE5wAgvmqjQ0CJFipgRAmyBAJ9mpBHNPd/+rQ/Z10Ut+6+6VLqlDACfXzLD

/v6TwFlsB2xCMGTfRG7tk5M=

=vlR4

-----END PGP SIGNATURE-----








(C) 1999-2000 All rights reserved.