CVE-2008-4810: Code Injection
The expandquotedtext function in libs/SmartyCompiler.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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2008-4810?
CVE-2008-4810 has a moderate severity level as it allows remote code execution through the Smarty template engine.
How do I fix CVE-2008-4810?
To fix CVE-2008-4810, upgrade to the patched versions of Smarty that address this vulnerability.
Which versions of Smarty are affected by CVE-2008-4810?
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.
What type of attack is associated with CVE-2008-4810?
CVE-2008-4810 is associated with remote code execution attacks via manipulated template files.
Is it possible to exploit CVE-2008-4810 in a web application?
Yes, CVE-2008-4810 can be exploited in a web application using vulnerable Smarty versions by leveraging vulnerabilities in template processing.