CVE-2008-4810: smarty Code Injection
Vulnerability summary
CVE-2008-4810 is a high (CVSS 7.5) Code Injection vulnerability in smarty. EPSS estimates a 2.19% chance of exploitation in the next 30 days, higher than 82.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2Timeline
- 31-10-2008PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
2.19%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
0.00 pp
From 2.19% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Smarty1 product
- smarty1.0 | 1.0a | 1.0b | 1.1.0 | 1.2.0 | 1.2.1 | 1.2.2 | 1.3.0 | 1.3.1 | 1.3.2 | 1.4.0 | 1.4.0:b1 | 1.4.0:b2 | 1.4.1 | 1.4.2 | 1.4.3 | 1.4.4 | 1.4.5 | 1.4.6 | 1.5.0 | 1.5.1 | 1.5.2 | 2.0.0 | 2.0.1 | 2.1.0 | 2.1.1 | 2.2.0 | 2.3.0 | 2.3.1 | 2.4.0 | 2.4.1 | 2.4.2 | 2.5.0 | 2.5.0:rc1 | 2.5.0:rc2 | 2.6.0 | 2.6.0:rc1 | 2.6.0:rc2 | 2.6.0:rc3 | 2.6.1 | 2.6.2 | 2.6.3 | 2.6.4 | 2.6.5 | 2.6.6 | 2.6.7 | 2.6.9 | 2.6.10 | 2.6.11 | 2.6.12 | 2.6.13 | 2.6.14 | 2.6.15 | 2.6.16 | 2.6.17 | 2.6.18
1 vendor · 1 product
References
10 links- securityvulns.ru/Udocument746.htmlX Refsource MISC
- bugs.gentoo.org/attachment.cgi?id=169804&action=viewX Refsource CONFIRM
- smarty-php.googlecode.com/svn/trunk/NEWSX Refsource CONFIRM