{ "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2008-4810", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "32329", "refsource": "SECUNIA", "url": "http://secunia.com/advisories/32329" }, { "name": "31862", "refsource": "BID", "url": "http://www.securityfocus.com/bid/31862" }, { "name": "smarty-expandquotedtext-code-execution(46031)", "refsource": "XF", "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/46031" }, { "name": "DSA-1691", "refsource": "DEBIAN", "url": "http://www.debian.org/security/2008/dsa-1691" }, { "name": "http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php", "refsource": "CONFIRM", "url": "http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php" }, { "name": "http://securityvulns.ru/Udocument746.html", "refsource": "MISC", "url": "http://securityvulns.ru/Udocument746.html" }, { "name": "https://bugs.gentoo.org/attachment.cgi?id=169804&action=view", "refsource": "CONFIRM", "url": "https://bugs.gentoo.org/attachment.cgi?id=169804&action=view" }, { "name": "http://smarty-php.googlecode.com/svn/trunk/NEWS", "refsource": "CONFIRM", "url": "http://smarty-php.googlecode.com/svn/trunk/NEWS" }, { "name": "http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php", "refsource": "CONFIRM", "url": "http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php" }, { "name": "[oss-security] 20081025 Regarding SA32329 (Smarty \"_expand_quoted_text()\" Security Bypass)", "refsource": "MLIST", "url": "http://www.openwall.com/lists/oss-security/2008/10/25/2" } ] } }