CVE-2008-4811

Severity CVSS v4.0:
Pending analysis
Type:
CWE-264 Permissions, Privileges, and Access Control
Publication date:
31/10/2008
Last modified:
09/04/2025

Description

The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 r2797 and earlier allows remote attackers to execute arbitrary PHP code via vectors related to templates and a \ (backslash) before a dollar-sign character.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:* 2.6.20 (including)
cpe:2.3:a:smarty:smarty:1.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.0a:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.0b:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.1.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.2.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.2.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.2.2:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.3.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.3.1:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.3.2:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.0:*:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.0:b1:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.0:b2:*:*:*:*:*:*
cpe:2.3:a:smarty:smarty:1.4.1:*:*:*:*:*:*:*