Smarty Template Engine '{fetch}' Tag Security Bypass Vulnerability

BID:48188

Info

Smarty Template Engine '{fetch}' Tag Security Bypass Vulnerability

Bugtraq ID: 48188
Class: Failure to Handle Exceptional Conditions
CVE:
Remote: Yes
Local: No
Published: Jun 09 2011 12:00AM
Updated: Jun 09 2011 12:00AM
Credit: willwoodlief
Vulnerable: Smarty Template Engine 2.6.23
Smarty Template Engine 2.6.22
Smarty Template Engine 2.6.19
Smarty Template Engine 2.6.18
Smarty Template Engine 2.6.17
Smarty Template Engine 2.6.16
Smarty Template Engine 2.6.15
Smarty Template Engine 2.6.14
Smarty Template Engine 2.6.13
Smarty Template Engine 2.6.12
Smarty Template Engine 2.6.11
Smarty Template Engine 2.6.10
Smarty Template Engine 2.6.9
Smarty Template Engine 2.6.8
Smarty Template Engine 2.6.7
+ Gentoo Linux
Smarty Template Engine 2.6.6
Smarty Template Engine 2.6.5
Smarty Template Engine 2.6.4
Smarty Template Engine 2.6.3
Smarty Template Engine 2.6.2
Smarty Template Engine 2.6.1
Smarty Template Engine 2.6
Smarty Template Engine 3.0.8
Smarty Template Engine 3.0.7
Smarty Template Engine 3.0.6
Smarty Template Engine 2.6.20-1
Not Vulnerable:

Discussion

Smarty Template Engine '{fetch}' Tag Security Bypass Vulnerability

Smarty Template Engine is prone to a security-bypass vulnerability because the '{fetch}' tag fails to recognize certain security settings.

Attackers may exploit the issue to bypass certain security restrictions to obtain files outside of the defined '$secure_dir' path.

Smarty Template Engine 3.0.8 is vulnerable; other versions may also be affected.

Exploit / POC

Smarty Template Engine '{fetch}' Tag Security Bypass Vulnerability

Attackers can exploit this issue via a browser.

Solution / Fix

Smarty Template Engine '{fetch}' Tag Security Bypass Vulnerability

Solution:
Updates are available. Please see the references for more information.

References

Smarty Template Engine '{fetch}' Tag Security Bypass Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report