Smarty _expand_quoted_text() function code execution
| smarty-expandquotedtext-code-execution1 (46406) |
Description:
Smarty could allow a remote attacker to execute arbitrary PHP code on the system, caused by an error in the _expand_quoted_text() function. A remote attacker could exploit this vulnerability via vectors related to templates and a \ (backslash) before a dollar-sign character to execute arbitrary PHP code on the system.
*CVSS:
| Base Score: | 7.5 |
| Access Vector: | Network |
| Access Complexity: | Low |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5.5 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
Apply the appropriate patch for your system. See References.
References:
- Mahara Web Site: Mahara 1.2.4, 1.1.8, and 1.0.14 Released.
- Red Hat Bugzilla ¿ Bug 467317 : Bug 467317 - Security Update for php-smarty .
- Smarty Web site: Smarty: Template Engine.
- BID-31862: Smarty Template Engine 'Smarty_Compiler.class.php' Security Bypass Vulnerability
- CVE-2008-4811: 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.
- DSA-1691: moodle -- several vulnerabilities
- GLSA-201006-13: Smarty: Multiple vulnerabilities
- SA32329: Smarty "_expand_quoted_text()" Security Bypass Vulnerability
- USN-791-1: Moodle vulnerabilities
Platforms Affected:
- Canonical Ubuntu 8.04 LTS
- Canonical Ubuntu 8.10
- Debian Debian Linux 4.0
- Gentoo Linux
- Mahara Mahara 1.0.1
- Mahara Mahara 1.0.10
- Mahara Mahara 1.0.11
- Mahara Mahara 1.0.12
- Mahara Mahara 1.0.2
- Mahara Mahara 1.0.3
- Mahara Mahara 1.0.4
- Mahara Mahara 1.0.5
- Mahara Mahara 1.0.6
- Mahara Mahara 1.0.8
- Mahara Mahara 1.0.9
- Mahara Mahara 1.1.0
- Mahara Mahara 1.1.1
- Mahara Mahara 1.1.2
- Mahara Mahara 1.1.3
- Mahara Mahara 1.1.4
- Mahara Mahara 1.1.5
- Mahara Mahara 1.1.6
- 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
- Smarty Smarty 1.4.0
- Smarty Smarty 1.4.0 B2
- Smarty Smarty 1.4.0 B1
- Smarty Smarty 1.4.1
- Smarty Smarty 1.4.2
- Smarty Smarty 1.4.3
- Smarty Smarty 1.4.4
- Smarty Smarty 1.4.5
- Smarty Smarty 1.4.6
- Smarty Smarty 1.5.0
- Smarty Smarty 1.5.1
- Smarty Smarty 1.5.2
- Smarty Smarty 2.0.0
- Smarty Smarty 2.0.1
- Smarty Smarty 2.1.0
- Smarty Smarty 2.1.1
- Smarty Smarty 2.2.0
- Smarty Smarty 2.3.0
- Smarty Smarty 2.3.1
- Smarty Smarty 2.4.0
- Smarty Smarty 2.4.1
- Smarty Smarty 2.4.2
- Smarty Smarty 2.5.0 Rc2
- Smarty Smarty 2.5.0
- Smarty Smarty 2.5.0 Rc1
- Smarty Smarty 2.6.0
- Smarty Smarty 2.6.0 Rc3
- Smarty Smarty 2.6.0 Rc2
- Smarty Smarty 2.6.0 Rc1
- Smarty Smarty 2.6.1
- Smarty Smarty 2.6.10
- Smarty Smarty 2.6.11
- Smarty Smarty 2.6.12
- Smarty Smarty 2.6.13
- Smarty Smarty 2.6.14
- Smarty Smarty 2.6.15
- Smarty Smarty 2.6.16
- Smarty Smarty 2.6.17
- Smarty Smarty 2.6.18
- Smarty Smarty 2.6.2
- Smarty Smarty 2.6.3
- Smarty Smarty 2.6.4
- Smarty Smarty 2.6.5
- Smarty Smarty 2.6.6
- Smarty Smarty 2.6.7
- Smarty Smarty 2.6.9
Reported:
Oct 22, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
