The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> Security and Cryptography
|
New php issue
Discuss New php issue in the Security and Cryptography forum on Dev Shed. New php issue Security and Cryptography forum discussing issues related to coding, server applications, network protection, data protection, firewalls, ciphers and the like.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 5th, 2002, 03:18 PM
|
|
Contributing User
|
|
Join Date: Feb 2001
Location: ma
Posts: 103
Time spent in forums: 23 m 24 sec
Reputation Power: 13
|
|
|
New php issue
[27-Feb-2002] Due to a security issue found in all versions of PHP (including 3.x and 4.x), a new version of PHP has been released. Details about the security issue are available here. All users of PHP are strongly encouraged to either upgrade to PHP 4.1.2, or install the patch (available for PHP 3.0.18, 4.0.6 and 4.1.0/4.1.1).
My question is how do I install the patch? It's a gz file. Not sure how those work. Can anyone give me a hand on this?
|

March 5th, 2002, 03:40 PM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
|
you are 4 days late. get onto some mailing list if you are really interested in security.
.gz says it is zip-packed (.zip in win*** world). do "gunzip filename.gz" to get the unzipped version. and read the docs how to apply it...
is it a source code patch or a binary one?
you probably better get the complete patched version (4.1.2)..... and install it over your old one.
|

March 5th, 2002, 05:20 PM
|
|
Contributing User
|
|
Join Date: Feb 2001
Location: ma
Posts: 103
Time spent in forums: 23 m 24 sec
Reputation Power: 13
|
|
Quote: Originally posted by M.Hirsch
you probably better get the complete patched version (4.1.2)..... and install it over your old one. |
How would I go about that?
|

March 7th, 2002, 12:11 PM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
http://www.php.net/downloads.php
but is is only available as source as far as i could see...
if you are on linux, compiling is easy  on win**** - didnīt ever even try...
|

March 7th, 2002, 12:57 PM
|
|
Contributing User
|
|
Join Date: Feb 2001
Location: ma
Posts: 103
Time spent in forums: 23 m 24 sec
Reputation Power: 13
|
|
|
Can anyone give me a hand here with an answer?
|

March 7th, 2002, 01:09 PM
|
|
Contributing User
|
|
Join Date: Oct 2000
Location: Back in the real world.
|
|
|
ok, step-by-step:
download the .tar.gz file.
login as root, copy it to your /root directory.
type "tar xvzf <filename>"
cd to the new dir that was created
type "./configure" (read the README for the parameters to supply if you want apache-module and how to compile in mySQL and other stuff you might need)
if you get no errors, type "make".
if this gives you no errors either, you should end up with a "mod_php.so" or similar in one of the dirs.
copy this to /usr/lib/apache (or the location your old mod_php.so is at)
this should do the job. it is probably not as easy as it seems, but since there is no binary available yet, itīs the only way around disabling PHP completely......
i did not test this since i donīt have linux around at home. if you have further questions, ask again. i am sure there is ppl on this board that did this step already and can supply the exact way...
see ya,
M.Hirsch
|

March 7th, 2002, 01:11 PM
|
|
Gödelian monster
|
|
Join Date: Jul 1999
Location: Central Florida, USA
|
|
See this thread in another forum: http://www.tek-tips.com/gviewthread.../434/qid/221223
Also, this security breach deals with PHP's file upload functionality. If you don't need file uploads, you can just disable that feature in php.ini, and you will be safe again. That's the quickest fix for now, until you are ready to deal with an upgrade.
Just change:
file_uploads = On
to
file_uploads = Off
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|