smarty 2.6.22 function.math.php smarty_function_math input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.9 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in smarty 2.6.22. Affected by this issue is the function smarty_function_math of the file libs/plugins/function.math.php. Performing a manipulation results in input validation.
This vulnerability is known as CVE-2009-1669. Furthermore, an exploit is available.
Details
A vulnerability, which was classified as very critical, was found in smarty 2.6.22 (Customer Relationship Management System). This affects the function smarty_function_math of the file libs/plugins/function.math.php. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
The smarty_function_math function in libs/plugins/function.math.php in Smarty 2.6.22 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function. NOTE: some of these details are obtained from third party information.
The weakness was published 05/12/2009 (Website). The advisory is shared at redhat.com. This vulnerability is uniquely identified as CVE-2009-1669 since 05/18/2009. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 11/29/2024).
After immediately, there has been an exploit disclosed. The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. By approaching the search of inurl:libs/plugins/function.math.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 38935 (Fedora 11 : php-Smarty-2.6.25-1.fc11 (2009-5520)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (50457), Tenable (38935), SecurityFocus (BID 34918†), OSVDB (54380†) and Secunia (SA35072†). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.8VulDB Meta Temp Score: 8.9
VulDB Base Score: 9.8
VulDB Temp Score: 8.9
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: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 38935
Nessus Name: Fedora 11 : php-Smarty-2.6.25-1.fc11 (2009-5520)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 66103
OpenVAS Name: Debian Security Advisory DSA 1919-1 (smarty)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Timeline
05/12/2009 🔍05/12/2009 🔍
05/12/2009 🔍
05/12/2009 🔍
05/12/2009 🔍
05/18/2009 🔍
05/18/2009 🔍
05/28/2009 🔍
06/02/2009 🔍
03/17/2015 🔍
11/29/2024 🔍
Sources
Advisory: redhat.comStatus: Not defined
CVE: CVE-2009-1669 (🔍)
GCVE (CVE): GCVE-0-2009-1669
GCVE (VulDB): GCVE-100-48225
OVAL: 🔍
X-Force: 50457
SecurityFocus: 34918 - Smarty Template Engine 'function.math.php' Security Bypass Vulnerability
Secunia: 35072
OSVDB: 54380 - Smarty libs/plugins/function.math.php smarty_function_math() Function Template Security Bypass Arbitrary Command Execution
Vulnerability Center: 22265 - Smarty <= 2.6.22 Remote Arbitrary code Execution Vulnerability via Shell Metacharacters, High
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/17/2015 23:38Updated: 11/29/2024 06:04
Changes: 03/17/2015 23:38 (70), 08/14/2017 10:25 (7), 08/11/2021 09:47 (3), 08/11/2021 09:52 (1), 11/29/2024 06:04 (19)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.