smarty security setting
| From: | Monte Ohrt | Date: | Wed, 23 May 2001 13:56:47 +0000 |
| Subject: | smarty security setting | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-789@lists.php.net to get a copy of this message | ||
I'm working on a security setting for Smarty. If the security flag is
set, Smarty will be safer for untrusted third party editing. So far, I
have the following conditions:
*) strict syntax checking in IF logic (this will be the tricky one)
*) restrict what files can be {included} (what should they be?)
*) disable {fetch} function (or limit this to http/ftp?)
*) disable {php}{/php} functionality
Are there any other vulnerabilities anyone can think of? I'm almost
certain there are loopholes to exploit, and I want to try to squash them
if I can.
--
Monte Ohrt <monte@ispi.net>
http://www.ispi.net/