CVE-2008-1066
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.0% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.0% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Smarty ≤ 2.6.18
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2008-1066.md and follow it. Check whether this project is affected by CVE-2008-1066. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/29241
- http://secunia.com/advisories/29392
- http://secunia.com/advisories/29398
- http://secunia.com/advisories/29405
- http://secunia.com/advisories/29562
- http://secunia.com/advisories/29839
- http://secunia.com/advisories/29241
- http://secunia.com/advisories/29392
- http://secunia.com/advisories/29398
- http://secunia.com/advisories/29405
References
- http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html
- http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html
- http://secunia.com/advisories/29241
- http://secunia.com/advisories/29392
- http://secunia.com/advisories/29398
- http://secunia.com/advisories/29405
- http://secunia.com/advisories/29562
- http://secunia.com/advisories/29839
- http://security.gentoo.org/glsa/glsa-201111-04.xml
- http://www.debian.org/security/2008/dsa-1520
- http://www.phpinsider.com/smarty-forum/viewtopic.php?p=47652
- http://www.securityfocus.com/bid/28105
- http://www.smarty.net/misc/NEWS
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41002
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00298.html
- https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00358.html
- https://www.redhat.com/archives/fedora-package-announce/2008-March/msg00551.html
- http://blog.s9y.org/archives/191-Serendipity-1.3-beta1-released.html
- http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00008.html
- http://secunia.com/advisories/29241
- http://secunia.com/advisories/29392
- http://secunia.com/advisories/29398
- http://secunia.com/advisories/29405
- http://secunia.com/advisories/29562
- http://secunia.com/advisories/29839