CVE-2008-4811
publishedphp-Smarty: PHP code execution via templates with \ escaped $ sign
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | etch | moodle | Advisory build | 1.6.3-2+etch1 | DSA-1691-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- 32329 http://secunia.com/advisories/32329
- http://securityvulns.ru/Udocument746.html
- DSA-1691 http://www.debian.org/security/2008/dsa-1691
- [oss-security] 20081025 Regarding SA32329 (Smarty "_expand_quoted_text()" Security Bypass) http://www.openwall.com/lists/oss-security/2008/10/25/2
- 31862 http://www.securityfocus.com/bid/31862
- smarty-expandquotedtext-code-execution1(46406) https://exchange.xforce.ibmcloud.com/vulnerabilities/46406
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fa1eafd67729c5b785d129e90f1a282e48cd1dd0a063d8a5077ee6faea6c1e24
- Ingested
- 23 Sep 2026, 07:38:28 UTC
- Source record
- Official CVE record