Smarty modifier.regex_replace.php plugin security bypass

smarty-modifierregexreplace-security-bypass (41002) The risk level is classified as MediumMedium Risk

Description:

Smarty could allow a remote attacker to bypass security restrictions, caused by an error in the modifier.regex_replace.php plugin. An attacker could exploit this vulnerability using the template security features related to a '\0' character search string to bypass the template security and possibly execute arbitrary PHP code on the system.

Platforms Affected:

  • Debian, Debian Linux 3.1
  • Debian, Debian Linux 4.0
  • s9y, Serendipity prior to 1.3
  • Smarty, Smarty prior to 2.6.19

Remedy:

Upgrade to the latest version of Smarty (2.6.19 or later), available from the Smarty Download Web page. See References.

For Serendipity:
Upgrade to the latest version of Serendipity (1.3 or later), available from the Serendipity Web site. See References.

Consequences:

Bypass Security

References:

Reported:

Feb 11, 2008

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page