CVE-2008-4810
Smarty < r2797 - Remote Code Execution via Template Dollar-Sign Injection
Title source: llmDescription
The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka "php executed in templates;" and (2) a double quoted literal string, aka a "function injection security hole." NOTE: each vector affects slightly different SVN revisions.
References (10)
Core 10
Core References
Various Sources x_refsource_misc
http://securityvulns.ru/Udocument746.html
Various Sources x_refsource_confirm
http://smarty-php.googlecode.com/svn/trunk/NEWS
Vendor Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/32329
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/31862
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/46031
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2008/dsa-1691
Issue Tracking x_refsource_confirm
http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php
Issue Tracking x_refsource_confirm
https://bugs.gentoo.org/attachment.cgi?id=169804&action=view
Issue Tracking x_refsource_confirm
http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php
Mailing List mailing-list
x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/10/25/2
Scores
EPSS
0.0219
EPSS Percentile
80.2%
Details
CWE
CWE-94
Status
published
Products (43)
smarty/smarty
1.0
smarty/smarty
1.0a
smarty/smarty
1.0b
smarty/smarty
1.1.0
smarty/smarty
1.2.0
smarty/smarty
1.2.1
smarty/smarty
1.2.2
smarty/smarty
1.3.0
smarty/smarty
1.3.1
smarty/smarty
1.3.2
... and 33 more
Published
Oct 31, 2008
Tracked Since
Feb 18, 2026