Vulnerability Details : 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.
Exploit prediction scoring system (EPSS) score for CVE-2008-4810
Probability of exploitation activity in the next 30 days: 1.24%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 84 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2008-4810
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
CWE ids for CVE-2008-4810
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2008-4810
- 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
- http://www.debian.org/security/2008/dsa-1691
-
http://smarty-php.googlecode.com/svn/trunk/NEWS
-
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://securityvulns.ru/Udocument746.html
Products affected by CVE-2008-4810
- cpe:2.3:a:smarty:smarty:2.6.6:*:*:*:*:*:*:*
- 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.2:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.6.3:*:*:*:*:*:*:*
- 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.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.6.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.6.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.6.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.4.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.5.0:*:*:*:*:*:*:*
- 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.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.0b:*:*:*:*:*:*:*
- 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.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.5.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.4.6:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.4.5:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.4.0:b2:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.3.2:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.0a:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.6.18:*:*:*:*:*:*:*
- 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.5.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.5.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.4.4:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.4.3:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.6.10:*:*:*:*:*:*:*
- 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.4.2:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.5.2:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.4.2:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.2.2:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:1.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:smarty:smarty:2.6.17:*:*:*:*:*:*:*