CVE-2008-4811
Summary
| CVE | CVE-2008-4811 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2008-10-31 18:09:08 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Smarty | Smarty | All | All | All | All |
| Application | Smarty | Smarty | 1.0 | All | All | All |
| Application | Smarty | Smarty | 1.0a | All | All | All |
| Application | Smarty | Smarty | 1.0b | All | All | All |
| Application | Smarty | Smarty | 1.1.0 | All | All | All |
| Application | Smarty | Smarty | 1.2.0 | All | All | All |
| Application | Smarty | Smarty | 1.2.1 | All | All | All |
| Application | Smarty | Smarty | 1.2.2 | All | All | All |
| Application | Smarty | Smarty | 1.3.0 | All | All | All |
| Application | Smarty | Smarty | 1.3.1 | All | All | All |
| Application | Smarty | Smarty | 1.3.2 | All | All | All |
| Application | Smarty | Smarty | 1.4.0 | All | All | All |
| Application | Smarty | Smarty | 1.4.0 | b1 | All | All |
| Application | Smarty | Smarty | 1.4.0 | b2 | All | All |
| Application | Smarty | Smarty | 1.4.1 | All | All | All |
| Application | Smarty | Smarty | 1.4.2 | All | All | All |
| Application | Smarty | Smarty | 1.4.3 | All | All | All |
| Application | Smarty | Smarty | 1.4.4 | All | All | All |
| Application | Smarty | Smarty | 1.4.5 | All | All | All |
| Application | Smarty | Smarty | 1.4.6 | All | All | All |
| Application | Smarty | Smarty | 1.5.0 | All | All | All |
| Application | Smarty | Smarty | 1.5.1 | All | All | All |
| Application | Smarty | Smarty | 1.5.2 | All | All | All |
| Application | Smarty | Smarty | 2.0.0 | All | All | All |
| Application | Smarty | Smarty | 2.0.1 | All | All | All |
| Application | Smarty | Smarty | 2.1.0 | All | All | All |
| Application | Smarty | Smarty | 2.1.1 | All | All | All |
| Application | Smarty | Smarty | 2.2.0 | All | All | All |
| Application | Smarty | Smarty | 2.3.0 | All | All | All |
| Application | Smarty | Smarty | 2.3.1 | All | All | All |
| Application | Smarty | Smarty | 2.4.0 | All | All | All |
| Application | Smarty | Smarty | 2.4.1 | All | All | All |
| Application | Smarty | Smarty | 2.4.2 | All | All | All |
| Application | Smarty | Smarty | 2.5.0 | All | All | All |
| Application | Smarty | Smarty | 2.5.0 | rc1 | All | All |
| Application | Smarty | Smarty | 2.5.0 | rc2 | All | All |
| Application | Smarty | Smarty | 2.6.0 | All | All | All |
| Application | Smarty | Smarty | 2.6.0 | rc1 | All | All |
| Application | Smarty | Smarty | 2.6.0 | rc2 | All | All |
| Application | Smarty | Smarty | 2.6.0 | rc3 | All | All |
| Application | Smarty | Smarty | 2.6.1 | All | All | All |
| Application | Smarty | Smarty | 2.6.10 | All | All | All |
| Application | Smarty | Smarty | 2.6.11 | All | All | All |
| Application | Smarty | Smarty | 2.6.12 | All | All | All |
| Application | Smarty | Smarty | 2.6.13 | All | All | All |
| Application | Smarty | Smarty | 2.6.14 | All | All | All |
| Application | Smarty | Smarty | 2.6.15 | All | All | All |
| Application | Smarty | Smarty | 2.6.16 | All | All | All |
| Application | Smarty | Smarty | 2.6.17 | All | All | All |
| Application | Smarty | Smarty | 2.6.18 | All | All | All |
| Application | Smarty | Smarty | 2.6.2 | All | All | All |
| Application | Smarty | Smarty | 2.6.3 | All | All | All |
| Application | Smarty | Smarty | 2.6.4 | All | All | All |
| Application | Smarty | Smarty | 2.6.5 | All | All | All |
| Application | Smarty | Smarty | 2.6.6 | All | All | All |
| Application | Smarty | Smarty | 2.6.7 | All | All | All |
| Application | Smarty | Smarty | 2.6.9 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| oss-security - Regarding SA32329 (Smarty "_expand_quoted_text()" Security Bypass) | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| Debian -- Security Information -- DSA-1691-1 moodle | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| Smarty 2.6.20 php injection | af854a3a-2127-422b-91ae-364da2661108 | securityvulns.ru | |
| Smarty "_expand_quoted_text()" Security Bypass Vulnerability - Secunia Advisories - Vulnerability Information - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| Smarty Template Engine 'Smarty_Compiler.class.php' Security Bypass Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.