{"id":"CVE-2008-4810","state":"PUBLISHED","title":"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 templa","description":"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.","publishedAt":"2008-10-31T17:18:00.000Z","updatedAt":"2024-08-07T10:31:27.520Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://secunia.com/advisories/32329","http://www.securityfocus.com/bid/31862","https://exchange.xforce.ibmcloud.com/vulnerabilities/46031","http://www.debian.org/security/2008/dsa-1691","http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php","http://securityvulns.ru/Udocument746.html","https://bugs.gentoo.org/attachment.cgi?id=169804&action=view","http://smarty-php.googlecode.com/svn/trunk/NEWS","http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php","http://www.openwall.com/lists/oss-security/2008/10/25/2"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:00.625Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/4xxx/CVE-2008-4810.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-4810","state":"PUBLISHED","datePublished":"2008-10-31T17:18:00.000Z","dateUpdated":"2024-08-07T10:31:27.520Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-10-31T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://secunia.com/advisories/32329","name":"32329","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/31862","name":"31862","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46031","name":"smarty-expandquotedtext-code-execution(46031)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.debian.org/security/2008/dsa-1691","name":"DSA-1691","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php","tags":["x_refsource_CONFIRM"]},{"url":"http://securityvulns.ru/Udocument746.html","tags":["x_refsource_MISC"]},{"url":"https://bugs.gentoo.org/attachment.cgi?id=169804&action=view","tags":["x_refsource_CONFIRM"]},{"url":"http://smarty-php.googlecode.com/svn/trunk/NEWS","tags":["x_refsource_CONFIRM"]},{"url":"http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2008/10/25/2","name":"[oss-security] 20081025 Regarding SA32329 (Smarty \"_expand_quoted_text()\" Security Bypass)","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2008-09-22T00:00:00.000Z","x_legacyV4Record":{"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"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://secunia.com/advisories/32329","name":"32329","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.securityfocus.com/bid/31862","name":"31862","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/46031","name":"smarty-expandquotedtext-code-execution(46031)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1691","name":"DSA-1691","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://securityvulns.ru/Udocument746.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.gentoo.org/attachment.cgi?id=169804&action=view","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://smarty-php.googlecode.com/svn/trunk/NEWS","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2008/10/25/2","name":"[oss-security] 20081025 Regarding SA32329 (Smarty \"_expand_quoted_text()\" Security Bypass)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T10:31:27.520Z"}}]}}}