OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA32417] Smarty "regex_replace" Modifier Template Security Bypass

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Mon Oct 27 2008 - 14:24:05 CDT


----------------------------------------------------------------------

Do you need accurate and reliable IDS / IPS / AV detection rules?

Get in-depth vulnerability details:
http://secunia.com/binary_analysis/sample_analysis/

----------------------------------------------------------------------

TITLE:
Smarty "regex_replace" Modifier Template Security Bypass

SECUNIA ADVISORY ID:
SA32417

VERIFY ADVISORY:
http://secunia.com/advisories/32417/

CRITICAL:
Less critical

IMPACT:
Security Bypass

WHERE:
From remote

SOFTWARE:
Smarty 2.x
http://secunia.com/advisories/product/4849/

DESCRIPTION:
A vulnerability has been reported in Smarty, which can potentially be
exploited by malicious people to bypass certain security
restrictions.

The vulnerability is caused due to an error in the "regex_replace"
modifier when using arrays. This can be exploited to bypass the
template security and execute arbitrary PHP code via an affected
application relying on the template security features.

The vulnerability is reported in versions prior to 2.6.20.

SOLUTION:
Update to version 2.6.20.

PROVIDED AND/OR DISCOVERED BY:
Reported by the vendor.

ORIGINAL ADVISORY:
http://www.smarty.net/misc/NEWS

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------