CVE-2008-4810
Severity CVSS v4.0:
Pending analysis
Type:
CWE-94
Code Injection
Publication date:
31/10/2008
Last modified:
09/04/2025
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.
Impact
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| 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:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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=2797&path=/trunk/libs/Smarty_Compiler.class.php
- http://secunia.com/advisories/32329
- http://securityvulns.ru/Udocument746.html
- http://smarty-php.googlecode.com/svn/trunk/NEWS
- http://www.debian.org/security/2008/dsa-1691
- http://www.openwall.com/lists/oss-security/2008/10/25/2
- http://www.securityfocus.com/bid/31862
- https://bugs.gentoo.org/attachment.cgi?id=169804&action=view
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46031
- 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=2797&path=/trunk/libs/Smarty_Compiler.class.php
- http://secunia.com/advisories/32329
- http://securityvulns.ru/Udocument746.html
- http://smarty-php.googlecode.com/svn/trunk/NEWS
- http://www.debian.org/security/2008/dsa-1691
- http://www.openwall.com/lists/oss-security/2008/10/25/2
- http://www.securityfocus.com/bid/31862
- https://bugs.gentoo.org/attachment.cgi?id=169804&action=view
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46031



