Skip to content
OpenAdvisories
Unscored CVE-2008-4810 EUVD-2008-4789GHSA-c7vg-7rfq-795p

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 Oct 31, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 smarty 2.6.20-1.2 DSA-1919-1
Debian 4.0 moodle 1.6.3-2+etch1 DSA-1691-1
Debian 4.0 smarty 2.6.14-1etch2 DSA-1919-1

Advisories 2

References