CVE-2008-1066

Summary

CVECVE-2008-1066
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2008-02-28 20:44:00 UTC
Updated2026-04-23 00:35:47 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v2.0 7.5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:P/A:P

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial

AV:N/AC:L/Au:N/C:P/I:P/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Smarty Smarty All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
SUSE Update for Multiple Packages - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Fedora update for php-pear-PhpDocumentor - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Serendipity 1.3-beta1 released - Serendipity af854a3a-2127-422b-91ae-364da2661108 blog.s9y.org
[SECURITY] Fedora 8 Update: php-pear-PhpDocumentor-1.4.1-2.fc8 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
[SECURITY] Fedora 7 Update: gallery2-2.2.4-3.fc7 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
[security-announce] SUSE Security Summary Report SUSE-SR:2008:007 af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Smarty "regex_replace" Modifier Template Security Bypass - Secunia Advisories - Vulnerability Intelligence - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
[SECURITY] Fedora 8 Update: gallery2-2.2.4-3.fc8 af854a3a-2127-422b-91ae-364da2661108 www.redhat.com
Fedora update for gallery2 - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Serendipity Security Bypass and Script Insertion Vulnerabilities - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Debian -- Security Information -- DSA-1520-1 smarty af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Smarty :: View topic - Smarty 2.6.19 Released af854a3a-2127-422b-91ae-364da2661108 www.phpinsider.com
Search Results for "misc" | Smarty af854a3a-2127-422b-91ae-364da2661108 www.smarty.net
Debian update for smarty - Advisories - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Smarty Template Engine 'regex_replace' Template Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Gentoo Linux Documentation -- phpDocumentor: Function call injection af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report