Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Smarty | Smarty | 1.0 |
Related Weaknesses (CWE)
References
- http://code.google.com/p/smarty-php/source/detail?r=2784&path=/trunk/libs/Smarty
- http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty
- 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
- http://code.google.com/p/smarty-php/source/detail?r=2797&path=/trunk/libs/Smarty
- http://secunia.com/advisories/32329Vendor Advisory
- http://securityvulns.ru/Udocument746.html
- http://smarty-php.googlecode.com/svn/trunk/NEWS
FAQ
What is CVE-2008-4810?
CVE-2008-4810 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2008-4810?
CVE-2008-4810 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2008-4810?
Check the references section above for vendor advisories and patch information. Affected products include: Smarty Smarty.