7.5high
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 arbitra…
Published 18 y ago · modified 4 mo ago · JSON
CVSS
7.5
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.2%
percentile 82%
Public exploits
0
none known
Summary
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 (EPSS)
2.19% probability of exploitation in the next 30 days, higher than 82% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
- CWE-94 Improper Control of Generation of Code
References
- secunia.com /advisories/32329 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- securityfocus.com /bid/31862 · vdb-entry, x_refsource_BID, x_transferred
- exchange.xforce.ibmcloud.com /vulnerabilities/46031 · vdb-entry, x_refsource_XF, x_transferred
- debian.org /security/2008/dsa-1691 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- code.google.com /p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty_Compiler.class.php · x_refsource_CONFIRM, x_transferred
- securityvulns.ru /Udocument746.html · x_refsource_MISC, x_transferred
- bugs.gentoo.org /attachment.cgi?id=169804&action=view · x_refsource_CONFIRM, x_transferred
- smarty-php.googlecode.com /svn/trunk/NEWS · x_refsource_CONFIRM, x_transferred
- code.google.com /p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty_Compiler.class.php · x_refsource_CONFIRM, x_transferred
- openwall.com /lists/oss-security/2008/10/25/2 · mailing-list, x_refsource_MLIST, x_transferred
Sources
- CVE List: CVE-2008-4810
- NVD: CVE-2008-4810
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.