------------------------------------------------------------------------- Debian LTS Advisory DLA-3956-1 debian-lts@lists.debian.org http://www.debian.org/lts/security/ Tobias Frost November 17, 2024 http://wiki.debian.org/LTS ------------------------------------------------------------------------- Package : smarty3 Version : 3.1.39-2+deb11u2 CVE ID : CVE-2018-25047 CVE-2023-28447 CVE-2024-35226 Debian Bug : 1019897 1033964 1072530 Multiple vulnerabilties were discovered for smarty3, a widely-used PHP templating engine, which potentially allows an attacker to perform an XSS (e.g JavaScript or PHP code injection). CVE-2018-25047 In Smarty before 3.1.47 and 4.x before 4.2.1, libs/plugins/function.mailto.php allows XSS. A web page that uses smarty_function_mailto, and that could be parameterized using GET or POST input parameters, could allow injection of JavaScript code by a user. CVE-2023-28447 In affected versions smarty did not properly escape javascript code. An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's browser session. This may lead to unauthorized access to sensitive user data, manipulation of the web application's behavior, or unauthorized actions performed on behalf of the user. Users are advised to upgrade to either version 3.1.48 or to 4.3.1 to resolve this issue. There are no known workarounds for this vulnerability. CVE-2024-35226 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. For Debian 11 bullseye, these problems have been fixed in version 3.1.39-2+deb11u2. We recommend that you upgrade your smarty3 packages. Please note you will have to clear out all smarty generated files after installing the update, by default in a templates_c directory. For the detailed security status of smarty3 please refer to its security tracker page at: http://security-tracker.debian.org/tracker/smarty3 Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: http://wiki.debian.org/LTS
Attachment:
signature.asc
Description: PGP signature