CVE-2008-4810

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:smarty:smarty:1.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.0a:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.0b:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.1.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.2.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.2.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.2.2:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.3.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.3.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.3.2:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.0:b1:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.0:b2:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.2:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.3:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.4:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.5:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.6:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.5.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.5.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.5.2:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.0.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.0.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.1.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.1.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.2.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.3.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.3.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.4.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.4.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.4.2:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.5.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.5.0:rc1:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.5.0:rc2:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.0:rc1:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.0:rc2:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.0:rc3:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.2:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.3:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.4:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.5:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.6:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.7:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.9:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.10:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.11:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.12:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.13:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.14:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.15:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.16:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.17:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:2.6.18:*:*:*:*:*:*:*

History

21 Nov 2024, 00:52

Type Values Removed Values Added
References () http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php - () http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php -
References () http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php - () http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php -
References () http://secunia.com/advisories/32329 - Vendor Advisory () http://secunia.com/advisories/32329 - Vendor Advisory
References () http://securityvulns.ru/Udocument746.html - () http://securityvulns.ru/Udocument746.html -
References () http://smarty-php.googlecode.com/svn/trunk/NEWS - () http://smarty-php.googlecode.com/svn/trunk/NEWS -
References () http://www.debian.org/security/2008/dsa-1691 - () http://www.debian.org/security/2008/dsa-1691 -
References () http://www.openwall.com/lists/oss-security/2008/10/25/2 - () http://www.openwall.com/lists/oss-security/2008/10/25/2 -
References () http://www.securityfocus.com/bid/31862 - () http://www.securityfocus.com/bid/31862 -
References () https://bugs.gentoo.org/attachment.cgi?id=169804&action=view - () https://bugs.gentoo.org/attachment.cgi?id=169804&action=view -
References () https://exchange.xforce.ibmcloud.com/vulnerabilities/46031 - () https://exchange.xforce.ibmcloud.com/vulnerabilities/46031 -

Information

Published : 2008-10-31 18:09

Updated : 2024-11-21 00:52


NVD link : CVE-2008-4810

Mitre link : CVE-2008-4810

CVE.ORG link : CVE-2008-4810


JSON object : View

Products Affected

smarty

  • smarty
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')