{"api_version":"1","generated_at":"2026-07-23T09:01:01+00:00","cve":"CVE-2009-1669","urls":{"html":"https://cve.report/CVE-2009-1669","api":"https://cve.report/api/cve/CVE-2009-1669.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2009-1669","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2009-1669"},"summary":{"title":"CVE-2009-1669","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2009-05-18 18:30:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-20","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"10","severity":"","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://www.ubuntu.com/usn/usn-791-3","name":"http://www.ubuntu.com/usn/usn-791-3","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-791-3: Smarty vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/34918","name":"http://www.securityfocus.com/bid/34918","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Smarty Template Engine 'function.math.php' Security Bypass Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/50457","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/50457","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01274.html","name":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01274.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 10 Update: php-Smarty-2.6.25-1.fc10","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://osvdb.org/54380","name":"http://osvdb.org/54380","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01287.html","name":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01287.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 11 Update: php-Smarty-2.6.25-1.fc11","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/35219","name":"http://secunia.com/advisories/35219","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Fedora update for php-Smarty - Secunia Advisories - Vulnerability Information - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/8659","name":"https://www.exploit-db.com/exploits/8659","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bitweaver 2.6 - 'saveFeed()' Remote Code Execution - PHP webapps Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/35072","name":"http://secunia.com/advisories/35072","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Smarty \"smarty_function_math()\" Template Security Bypass - Advisories - Community","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01283.html","name":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01283.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 9 Update: php-Smarty-2.6.25-1.fc9","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-1669","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-1669","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2009","cve_id":"1669","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"smarty","cpe5":"smarty","cpe6":"2.6.22","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T05:20:35.190Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"smarty-smartyfunctionmath-cmd-execution(50457)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/50457"},{"name":"35072","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/35072"},{"name":"USN-791-3","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/usn-791-3"},{"name":"54380","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://osvdb.org/54380"},{"name":"8659","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/8659"},{"name":"FEDORA-2009-5520","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01287.html"},{"name":"FEDORA-2009-5516","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01283.html"},{"name":"35219","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/35219"},{"name":"FEDORA-2009-5525","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01274.html"},{"name":"34918","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/34918"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2009-05-12T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-09-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"smarty-smartyfunctionmath-cmd-execution(50457)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/50457"},{"name":"35072","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/35072"},{"name":"USN-791-3","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/usn-791-3"},{"name":"54380","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://osvdb.org/54380"},{"name":"8659","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/8659"},{"name":"FEDORA-2009-5520","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01287.html"},{"name":"FEDORA-2009-5516","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01283.html"},{"name":"35219","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/35219"},{"name":"FEDORA-2009-5525","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01274.html"},{"name":"34918","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/34918"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2009-1669","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"smarty-smartyfunctionmath-cmd-execution(50457)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/50457"},{"name":"35072","refsource":"SECUNIA","url":"http://secunia.com/advisories/35072"},{"name":"USN-791-3","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-791-3"},{"name":"54380","refsource":"OSVDB","url":"http://osvdb.org/54380"},{"name":"8659","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/8659"},{"name":"FEDORA-2009-5520","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01287.html"},{"name":"FEDORA-2009-5516","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01283.html"},{"name":"35219","refsource":"SECUNIA","url":"http://secunia.com/advisories/35219"},{"name":"FEDORA-2009-5525","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01274.html"},{"name":"34918","refsource":"BID","url":"http://www.securityfocus.com/bid/34918"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2009-1669","datePublished":"2009-05-18T18:00:00.000Z","dateReserved":"2009-05-18T00:00:00.000Z","dateUpdated":"2024-08-07T05:20:35.190Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2009-05-18 18:30:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-20","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","baseScore":10,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:smarty:smarty:2.6.22:*:*:*:*:*:*:*","matchCriteriaId":"7B95000D-10A0-4D15-946E-24E432C6A464"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2009","CveId":"1669","Ordinal":"1","Title":"CVE-2009-1669","CVE":"CVE-2009-1669","Year":"2009"},"notes":[{"CveYear":"2009","CveId":"1669","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2009-1669"},{"CveYear":"2009","CveId":"1669","Ordinal":"2","NoteData":"2009-05-18","Type":"Other","Title":"Published"},{"CveYear":"2009","CveId":"1669","Ordinal":"3","NoteData":"2017-09-28","Type":"Other","Title":"Modified"}]}}}