Smarty "regex_replace" Modifier Template Security Bypass
Secunia Advisory: SA14729
Release Date: 2005-03-29
Last Update: 2005-04-11
Popularity: 6,032 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-2005-0913


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.

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

Provided and/or discovered by:
Reported by vendor.

Changelog:
2005-03-30: Added CVE reference.
2005-04-11: Updated solution. Previous fix was inadequate.


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. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 24 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 18 views
3. PHP Multiple Vulnerabilities // 18 views
4. PluggedOut Blog "index.php" SQL Injection Vulnerabilities // 17 views
5. Subdreamer Light Global Variables SQL Injection Vulnerability // 15 views
6. phpBB BBcode Script Insertion Vulnerability // 15 views
7. Microsoft Office Two Code Execution Vulnerabilities // 15 views
8. PHP "gdPngReadData()" Truncated PNG Data Denial of Service // 13 views
9. HP OpenView Select Identity Connectors Information Disclosure // 12 views
10. Fedora update for xastir // 12 views