CVE-2009-1669: Smarty - Command Injection
- Cve: CVE-2009-1669
- Name: Smarty - Command Injection
- Description: 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.
- Impact: Attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
- Remediation: Update to the latest version of Smarty or apply security patches that fix command injection vulnerabilities.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 10
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
- Epss score: 0.14117
- Epss percentile: 0.9666
- Assignee: [email protected]
- Published at: 2009-05-18T18:30:00Z
- Age in days: 6399
- Modified at: 2026-06-16T23:07:47Z
- Public exploits total: 1
- References total: 10
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2009-1669
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.securityfocus.com/bid/34918 | nvd | 2009-05-18 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| smarty:smarty | = 2.6.22 | no | nvd | /v1/products/smarty/smarty |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2009-05-18
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts