| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Smarty up to 2.6.3. It has been classified as critical. Affected is the function _expand_quoted_text. This manipulation causes code injection.
This vulnerability is handled as CVE-2008-4810. There is not any exploit available.
Upgrading the affected component is recommended.
Details
A vulnerability was found in Smarty up to 2.6.3 (Customer Relationship Management System). It has been declared as critical. Affected by this vulnerability is the function _expand_quoted_text. The manipulation with an unknown input leads to a code injection vulnerability. The CWE definition for the vulnerability is CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The bug was discovered 10/22/2008. The weakness was released 10/31/2008 by trueend5 (Website). It is possible to read the advisory at bugs.gentoo.org. This vulnerability is known as CVE-2008-4810 since 10/31/2008. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.
The vulnerability was handled as a non-public zero-day exploit for at least 9 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 37766 (Mandriva Linux Security Advisory : php-smarty (MDVSA-2009:052)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l.
Upgrading to version 2.6.4 eliminates this vulnerability. A possible mitigation has been published 5 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (46031), Tenable (37766), SecurityFocus (BID 31862†), OSVDB (49943†) and Secunia (SA32329†). Entry connected to this vulnerability is available at VDB-44792. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 37766
Nessus Name: Mandriva Linux Security Advisory : php-smarty (MDVSA-2009:052)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 63060
OpenVAS Name: Debian Security Advisory DSA 1691-1 (moodle)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Smarty 2.6.4
Timeline
10/20/2008 🔍10/20/2008 🔍
10/22/2008 🔍
10/22/2008 🔍
10/31/2008 🔍
10/31/2008 🔍
10/31/2008 🔍
11/20/2008 🔍
02/24/2009 🔍
04/23/2009 🔍
03/17/2015 🔍
08/21/2019 🔍
Sources
Advisory: bugs.gentoo.orgResearcher: trueend5
Status: Not defined
Confirmation: 🔍
CVE: CVE-2008-4810 (🔍)
GCVE (CVE): GCVE-0-2008-4810
GCVE (VulDB): GCVE-100-44791
OVAL: 🔍
X-Force: 46031
SecurityFocus: 31862 - Smarty Template Engine 'Smarty_Compiler.class.php' Security Bypass Vulnerability
Secunia: 32329 - Smarty "_expand_quoted_text()" Security Bypass Vulnerability, Less Critical
OSVDB: 49943 - Smarty _expand_quoted_text() function code execution
Vulnerability Center: 20045 - Smarty Template Engine Remote Code Execution via a Double Quoted or a Dollar-Sign Character, High
See also: 🔍
Entry
Created: 03/17/2015 16:11Updated: 08/21/2019 08:24
Changes: 03/17/2015 16:11 (82), 08/21/2019 08:24 (4)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.