CVE-2008-4810

Smarty < r2797 - Remote Code Execution via Template Dollar-Sign Injection

Title source: llm
STIX 2.1

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.

References (10)

Core 10
Core References
Various Sources x_refsource_misc
http://securityvulns.ru/Udocument746.html
Various Sources x_refsource_confirm
http://smarty-php.googlecode.com/svn/trunk/NEWS
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/32329
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/31862
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/46031
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2008/dsa-1691
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/10/25/2

Scores

EPSS 0.0219
EPSS Percentile 80.2%

Details

CWE
CWE-94
Status published
Products (43)
smarty/smarty 1.0
smarty/smarty 1.0a
smarty/smarty 1.0b
smarty/smarty 1.1.0
smarty/smarty 1.2.0
smarty/smarty 1.2.1
smarty/smarty 1.2.2
smarty/smarty 1.3.0
smarty/smarty 1.3.1
smarty/smarty 1.3.2
... and 33 more
Published Oct 31, 2008
Tracked Since Feb 18, 2026