{"api_version":"1","generated_at":"2026-07-23T07:14:44+00:00","cve":"CVE-2008-1066","urls":{"html":"https://cve.report/CVE-2008-1066","api":"https://cve.report/api/cve/CVE-2008-1066.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-1066","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-1066"},"summary":{"title":"CVE-2008-1066","description":"The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arbitrary PHP functions via templates, related to a '\\0' character in a search string.","state":"PUBLISHED","assigner":"mitre","published_at":"2008-02-28 20:44: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":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://secunia.com/advisories/29392","name":"http://secunia.com/advisories/29392","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"SUSE Update for Multiple Packages - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/29562","name":"http://secunia.com/advisories/29562","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Fedora update for php-pear-PhpDocumentor - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html","name":"http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Serendipity 1.3-beta1 released  - Serendipity","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html","name":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 8 Update: php-pear-PhpDocumentor-1.4.1-2.fc8","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41002","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41002","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/2008-April/msg00358.html","name":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 7 Update: gallery2-2.2.4-3.fc7","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html","name":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] SUSE Security Summary Report SUSE-SR:2008:007","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/29241","name":"http://secunia.com/advisories/29241","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Smarty \"regex_replace\" Modifier Template Security Bypass - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html","name":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 8 Update: gallery2-2.2.4-3.fc8","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/29839","name":"http://secunia.com/advisories/29839","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Fedora update for gallery2 - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/29398","name":"http://secunia.com/advisories/29398","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Serendipity Security Bypass and Script Insertion Vulnerabilities - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2008/dsa-1520","name":"http://www.debian.org/security/2008/dsa-1520","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-1520-1 smarty","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652","name":"http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Smarty :: View topic - Smarty 2.6.19 Released","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.smarty.net/misc/NEWS","name":"http://www.smarty.net/misc/NEWS","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Search Results for \"misc\" | Smarty","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/29405","name":"http://secunia.com/advisories/29405","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Debian update for smarty - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/28105","name":"http://www.securityfocus.com/bid/28105","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Smarty Template Engine 'regex_replace' Template Security Bypass Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://security.gentoo.org/glsa/glsa-201111-04.xml","name":"http://security.gentoo.org/glsa/glsa-201111-04.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Gentoo Linux Documentation\n--\n  phpDocumentor: Function call injection","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-1066","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1066","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":"2008","cve_id":"1066","vulnerable":"1","versionEndIncluding":"2.6.18","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"smarty","cpe5":"smarty","cpe6":"*","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-07T08:08:57.497Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"29398","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29398"},{"name":"29241","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29241"},{"name":"DSA-1520","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2008/dsa-1520"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652"},{"name":"GLSA-201111-04","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-201111-04.xml"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.smarty.net/misc/NEWS"},{"name":"29405","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29405"},{"name":"FEDORA-2008-2656","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html"},{"name":"29392","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29392"},{"name":"29839","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29839"},{"name":"SUSE-SR:2008:007","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html"},{"name":"smarty-modifierregexreplace-security-bypass(41002)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41002"},{"name":"FEDORA-2008-2587","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html"},{"name":"28105","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/28105"},{"name":"FEDORA-2008-2650","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html"},{"name":"29562","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29562"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-02-11T00:00:00.000Z","descriptions":[{"lang":"en","value":"The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arbitrary PHP functions via templates, related to a '\\0' character in a search string."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"29398","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29398"},{"name":"29241","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29241"},{"name":"DSA-1520","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2008/dsa-1520"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652"},{"name":"GLSA-201111-04","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-201111-04.xml"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.smarty.net/misc/NEWS"},{"name":"29405","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29405"},{"name":"FEDORA-2008-2656","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html"},{"name":"29392","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29392"},{"name":"29839","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29839"},{"name":"SUSE-SR:2008:007","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html"},{"name":"smarty-modifierregexreplace-security-bypass(41002)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41002"},{"name":"FEDORA-2008-2587","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html"},{"name":"28105","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/28105"},{"name":"FEDORA-2008-2650","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html"},{"name":"29562","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29562"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-1066","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 modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arbitrary PHP functions via templates, related to a '\\0' character in a search string."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"29398","refsource":"SECUNIA","url":"http://secunia.com/advisories/29398"},{"name":"29241","refsource":"SECUNIA","url":"http://secunia.com/advisories/29241"},{"name":"DSA-1520","refsource":"DEBIAN","url":"http://www.debian.org/security/2008/dsa-1520"},{"name":"http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652","refsource":"CONFIRM","url":"http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652"},{"name":"GLSA-201111-04","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-201111-04.xml"},{"name":"http://www.smarty.net/misc/NEWS","refsource":"CONFIRM","url":"http://www.smarty.net/misc/NEWS"},{"name":"29405","refsource":"SECUNIA","url":"http://secunia.com/advisories/29405"},{"name":"FEDORA-2008-2656","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html"},{"name":"29392","refsource":"SECUNIA","url":"http://secunia.com/advisories/29392"},{"name":"29839","refsource":"SECUNIA","url":"http://secunia.com/advisories/29839"},{"name":"SUSE-SR:2008:007","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html"},{"name":"smarty-modifierregexreplace-security-bypass(41002)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41002"},{"name":"FEDORA-2008-2587","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html"},{"name":"28105","refsource":"BID","url":"http://www.securityfocus.com/bid/28105"},{"name":"FEDORA-2008-2650","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html"},{"name":"http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html","refsource":"CONFIRM","url":"http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html"},{"name":"29562","refsource":"SECUNIA","url":"http://secunia.com/advisories/29562"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-1066","datePublished":"2008-02-28T20:00:00.000Z","dateReserved":"2008-02-28T00:00:00.000Z","dateUpdated":"2024-08-07T08:08:57.497Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2008-02-28 20:44: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:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*","versionEndIncluding":"2.6.18","matchCriteriaId":"B305BAAF-5CF8-4A5C-8E59-B308A754A3A8"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"1066","Ordinal":"1","Title":"CVE-2008-1066","CVE":"CVE-2008-1066","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"1066","Ordinal":"1","NoteData":"The modifier.regex_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arbitrary PHP functions via templates, related to a '\\0' character in a search string.","Type":"Description","Title":"CVE-2008-1066"},{"CveYear":"2008","CveId":"1066","Ordinal":"2","NoteData":"2008-02-28","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"1066","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}