Executive Summary

Informations
Name CVE-2009-1669 First vendor Publication 2009-05-18
Vendor Cve Last vendor Modification 2017-09-29

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:C/I:C/A:C)
Cvss Base Score 10 Attack Range Network
Cvss Impact Score 10 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

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.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1669

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-20 Improper Input Validation

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:13108
 
Oval ID: oval:org.mitre.oval:def:13108
Title: DSA-1919-1 smarty -- several
Description: Several remote vulnerabilities have been discovered in Smarty, a PHP templating engine. The Common Vulnerabilities and Exposures project identifies the following problems: CVE-2008-4810 The _expand_quoted_text function allows for certain restrictions in templates, like function calling and PHP execution, to be bypassed. CVE-2009-1669 The smarty_function_math function allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function. For the old stable distribution, these problems have been fixed in version 2.6.14-1etch2. For the stable distribution, these problems have been fixed in version 2.6.20-1.2. For the unstable distribution, these problems will be fixed soon. We recommend that you upgrade your smarty package.
Family: unix Class: patch
Reference(s): DSA-1919-1
CVE-2008-4810
CVE-2009-1669
Version: 5
Platform(s): Debian GNU/Linux 5.0
Debian GNU/Linux 4.0
Product(s): smarty
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:13560
 
Oval ID: oval:org.mitre.oval:def:13560
Title: DSA-1919-2 smarty -- several
Description: A regression was found in the patch applied in DSA 1919-1 to smarty, which caused compilation failures on some specific templates. This update corrects the fix. For reference, the full advisory text below. Several remote vulnerabilities have been discovered in Smarty, a PHP templating engine. The Common Vulnerabilities and Exposures project identifies the following problems: CVE-2008-4810 The _expand_quoted_text function allows for certain restrictions in templates, like function calling and PHP execution, to be bypassed. CVE-2009-1669 The smarty_function_math function allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function. For the stable distribution, this problem has been fixed in version 2.6.20-1.3. The testing and unstable distribution are not affected by this regression. We recommend that you upgrade your smarty package.
Family: unix Class: patch
Reference(s): DSA-1919-2
CVE-2008-4810
CVE-2009-1669
Version: 5
Platform(s): Debian GNU/Linux 5.0
Product(s): smarty
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:13807
 
Oval ID: oval:org.mitre.oval:def:13807
Title: USN-791-3 -- smarty vulnerability
Description: It was discovered that Smarty did not correctly filter certain math inputs. A remote attacker using Smarty via a web service could exploit this to execute subsets of shell commands as the web server user.
Family: unix Class: patch
Reference(s): USN-791-3
CVE-2009-1669
Version: 5
Platform(s): Ubuntu 9.04
Product(s): smarty
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:7911
 
Oval ID: oval:org.mitre.oval:def:7911
Title: DSA-1919 smarty -- several vulnerabilities
Description: Several remote vulnerabilities have been discovered in Smarty, a PHP templating engine. The Common Vulnerabilities and Exposures project identifies the following problems: The _expand_quoted_text function allows for certain restrictions in templates, like function calling and PHP execution, to be bypassed. The smarty_function_math function allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function.
Family: unix Class: patch
Reference(s): DSA-1919
CVE-2008-4810
CVE-2009-1669
Version: 3
Platform(s): Debian GNU/Linux 5.0
Debian GNU/Linux 4.0
Product(s): smarty
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1

OpenVAS Exploits

Date Description
2011-03-09 Name : Gentoo Security Advisory GLSA 201006-13 (smarty)
File : nvt/glsa_201006_13.nasl
2010-08-21 Name : Debian Security Advisory DSA 1919-2 (smarty)
File : nvt/deb_1919_2.nasl
2009-10-27 Name : Debian Security Advisory DSA 1919-1 (smarty)
File : nvt/deb_1919_1.nasl
2009-06-30 Name : Ubuntu USN-791-1 (moodle)
File : nvt/ubuntu_791_1.nasl
2009-06-30 Name : Ubuntu USN-791-3 (smarty)
File : nvt/ubuntu_791_3.nasl
2009-06-05 Name : Fedora Core 9 FEDORA-2009-5516 (php-Smarty)
File : nvt/fcore_2009_5516.nasl
2009-06-05 Name : Fedora Core 11 FEDORA-2009-5520 (php-Smarty)
File : nvt/fcore_2009_5520.nasl
2009-06-05 Name : Fedora Core 10 FEDORA-2009-5525 (php-Smarty)
File : nvt/fcore_2009_5525.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
54380 Smarty libs/plugins/function.math.php smarty_function_math() Function Templat...

Nessus® Vulnerability Scanner

Date Description
2010-06-03 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201006-13.nasl - Type : ACT_GATHER_INFO
2010-02-24 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1919.nasl - Type : ACT_GATHER_INFO
2009-06-25 Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-791-1.nasl - Type : ACT_GATHER_INFO
2009-06-25 Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-791-3.nasl - Type : ACT_GATHER_INFO
2009-05-28 Name : The remote Fedora host is missing a security update.
File : fedora_2009-5516.nasl - Type : ACT_GATHER_INFO
2009-05-28 Name : The remote Fedora host is missing a security update.
File : fedora_2009-5520.nasl - Type : ACT_GATHER_INFO
2009-05-28 Name : The remote Fedora host is missing a security update.
File : fedora_2009-5525.nasl - Type : ACT_GATHER_INFO

Sources (Detail)

Source Url
BID http://www.securityfocus.com/bid/34918
EXPLOIT-DB https://www.exploit-db.com/exploits/8659
FEDORA https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01274.html
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01283.html
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01287.html
OSVDB http://osvdb.org/54380
SECUNIA http://secunia.com/advisories/35072
http://secunia.com/advisories/35219
UBUNTU http://www.ubuntu.com/usn/usn-791-3
XF https://exchange.xforce.ibmcloud.com/vulnerabilities/50457

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
Date Informations
2021-05-04 12:09:32
  • Multiple Updates
2021-04-22 01:09:54
  • Multiple Updates
2020-05-23 00:23:46
  • Multiple Updates
2017-09-29 09:24:13
  • Multiple Updates
2017-08-17 09:22:35
  • Multiple Updates
2016-06-28 17:41:43
  • Multiple Updates
2016-04-26 18:49:45
  • Multiple Updates
2014-02-17 10:50:01
  • Multiple Updates
2013-05-10 23:50:20
  • Multiple Updates