First published: Fri Oct 31 2008(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Smarty | =1.0 | |
Smarty | =1.0a | |
Smarty | =1.0b | |
Smarty | =1.1.0 | |
Smarty | =1.2.0 | |
Smarty | =1.2.1 | |
Smarty | =1.2.2 | |
Smarty | =1.3.0 | |
Smarty | =1.3.1 | |
Smarty | =1.3.2 | |
Smarty | =1.4.0 | |
Smarty | =1.4.0-b1 | |
Smarty | =1.4.0-b2 | |
Smarty | =1.4.1 | |
Smarty | =1.4.2 | |
Smarty | =1.4.3 | |
Smarty | =1.4.4 | |
Smarty | =1.4.5 | |
Smarty | =1.4.6 | |
Smarty | =1.5.0 | |
Smarty | =1.5.1 | |
Smarty | =1.5.2 | |
Smarty | =2.0.0 | |
Smarty | =2.0.1 | |
Smarty | =2.1.0 | |
Smarty | =2.1.1 | |
Smarty | =2.2.0 | |
Smarty | =2.3.0 | |
Smarty | =2.3.1 | |
Smarty | =2.4.0 | |
Smarty | =2.4.1 | |
Smarty | =2.4.2 | |
Smarty | =2.5.0 | |
Smarty | =2.5.0-rc1 | |
Smarty | =2.5.0-rc2 | |
Smarty | =2.6.0 | |
Smarty | =2.6.0-rc1 | |
Smarty | =2.6.0-rc2 | |
Smarty | =2.6.0-rc3 | |
Smarty | =2.6.1 | |
Smarty | =2.6.2 | |
Smarty | =2.6.3 | |
Smarty | =2.6.4 | |
Smarty | =2.6.5 | |
Smarty | =2.6.6 | |
Smarty | =2.6.7 | |
Smarty | =2.6.9 | |
Smarty | =2.6.10 | |
Smarty | =2.6.11 | |
Smarty | =2.6.12 | |
Smarty | =2.6.13 | |
Smarty | =2.6.14 | |
Smarty | =2.6.15 | |
Smarty | =2.6.16 | |
Smarty | =2.6.17 | |
Smarty | =2.6.18 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2008-4810 has a moderate severity level as it allows remote code execution through the Smarty template engine.
To fix CVE-2008-4810, upgrade to the patched versions of Smarty that address this vulnerability.
CVE-2008-4810 affects multiple versions of Smarty, including 1.0, 1.4.0, and all 2.x versions up to 2.6.20 before r2797.
CVE-2008-4810 is associated with remote code execution attacks via manipulated template files.
Yes, CVE-2008-4810 can be exploited in a web application using vulnerable Smarty versions by leveraging vulnerabilities in template processing.