Secunia Logo
 
Smarty "regex_replace" Modifier Template Security Bypass
Secunia Advisory: SA29241
Release Date: 2008-03-05
Popularity: 3,353 views

Critical:
Less critical
Impact: Security Bypass
Where: From remote
Solution Status: Vendor Patch

Software:Smarty 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-1066


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

The vulnerability is caused due to an error in the "regex_replace" modifier. 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.19.

Solution:
Update to version 2.6.19.
http://www.smarty.net/download.php

Provided and/or discovered by:
Reported by the vendor.

Original Advisory:
http://www.smarty.net/misc/NEWS


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 32 views
2. Microsoft XML Core Services Multiple Vulnerabilities // 30 views
3. Apple iPhone / iPod touch Multiple Vulnerabilities // 26 views
4. phpBB Avatar Script Insertion Vulnerability // 25 views
5. phpBB "url" bbcode Script Insertion Vulnerability // 24 views
6. ArticleBeach Script "page" File Inclusion Vulnerability // 24 views
7. phpBB reveals user IPs // 23 views
8. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 21 views
9. phpBB "gen_rand_string()" Predictable RNG Weakness // 21 views
10. vBulletin Visitor Messages Script Insertion Vulnerability // 21 views