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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.19%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 2.0
- 7.5 HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
- EPSS
- 2.19% probability · 81th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- smarty/smarty
- Source
- cve@mitre.org
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=2797&path=/trunk/libs/Smarty_Compiler.class.php
- http://secunia.com/advisories/32329Vendor Advisory
- 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/32329Vendor Advisory
- 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.