SecurityContext

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

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
http://www.securityfocus.com/bid/34918nvd2009-05-18

References

Same in every row:

  • Source: nvd
UrlTags
http://secunia.com/advisories/35072Vendor Advisory
http://www.securityfocus.com/bid/34918Exploit
http://osvdb.org/54380
http://secunia.com/advisories/35219
http://www.ubuntu.com/usn/usn-791-3
https://exchange.xforce.ibmcloud.com/vulnerabilities/50457
https://www.exploit-db.com/exploits/8659
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

Products

ProductAffectedPlatform boundSourcesUrl
smarty:smarty= 2.6.22nonvd/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