Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
Re: PHP security (or the lack thereof)
From: Mrten (bugtraqii.nl)
Date: Mon Jun 26 2006 - 14:37:08 CDT
Om 18:06 op maandag 26 juni 2006, Geo.:
>> "The configuration flexibility of PHP is equally rivalled by the code
>> flexibility. PHP can be used to build complete server applications,
>> with all the power of a shell user, or it can be used for simple
>> server-side includes with little risk in a tightly controlled
>> environment. How you build that environment, and how secure it is, is
>> largely up to the PHP developer."
> And is the default install wide open or tightly controlled? I mean from a
> security standpoint we have been screaming for years at Microsoft to change
> their defaults to firewall on and things locked instead of open.
> Is php secure by default when it's installed on a server?
no, it is definitely not.
with things like allow_url_fopen  defaulting to true which allows
remote scripts to be include()d, safe mode being off , functions
like system() and shell_exec() allowing the script to execute random
programs on the webserver, things are not quite there yet.
 yes, i know it's an ugly workaround. it's a useful one, though.
Be the change you want to see in the world. --Mahatma Ghandi