CVE-2024-35226
Smarty is a template engine for PHP, facilitating the separation of …
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. In affected versions template authors could inject php code by choosing a malicious file name for an extends-tag. Sites that cannot fully trust template authors should update asap. All users are advised to update. There is no patch for users on the v3 branch. There are no known workarounds for this vulnerability.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/smarty-php/smarty/security/advisories/GHSA-4rmg-292m-wg3w
- nvd.nist.gov/vuln/detail/CVE-2024-35226
- github.com/smarty-php/smarty/commit/0be92bc8a6fb83e6e0d883946f7e7c09ba4e857a
- lists.debian.org/debian-lts-announce/2024/11/msg00013.html
- github.com/advisories/GHSA-4rmg-292m-wg3w
- nvd.nist.gov/vuln/detail/CVE-2024-35226
- cve.org/CVERecord?id=CVE-2024-35226
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.