SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Generic)  >   Smarty Vendors:   smarty.php.net
Smarty regex_replace Modifier Template Security Bug Lets Users Execute PHP Code
SecurityTracker Alert ID:  1013556
SecurityTracker URL:  http://securitytracker.com/id/1013556
CVE Reference:   CVE-2005-0913   (Links to External Site)
Updated:  Jul 7 2008
Original Entry Date:  Mar 24 2005
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 2.6.8
Description:   A vulnerability was reported in Smarty. A user can bypass template security controls and cause arbitrary PHP code to be executed.

The regex_replace modifier does not properly validate the 'search' parameter, allowing arbitrary PHP code to be executed even when template security is enabled.

The flaw resides in 'libs/plugins/modifier.regex_replace.php'.

Impact:   A user can bypass template security controls and cause arbitrary PHP code to be executed.
Solution:   The vendor has issued a fixed version (2.6.8), available at:

http://smarty.php.net/download.php

Vendor URL:  smarty.php.net/ (Links to External Site)
Cause:   Input validation error
Underlying OS:   Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.


 Source Message Contents

Date:  Thu, 24 Mar 2005 09:13:22 -0500
Subject:  http://news.php.net/php.smarty.dev/2673



This release addresses a hole that was discovered in Smarty's
regex_replace modifier that permitted PHP code to be executed even when
security was enabled. An issue with {strip}{/strip} has been fixed and
notably, {foreach} no longer casts objects to arrays which had
prevented PHP5 object iterators from being used.

More Info and Download at http://smarty.php.net/
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2013, SecurityGlobal.net LLC