PT-2014-8482 · Smarty · Smarty
Published
2014-11-03
·
Updated
2022-05-17
·
CVE-2014-8350
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
Smarty versions prior to 3.1.21
Description
The issue allows remote attackers to bypass secure mode restrictions and execute arbitrary PHP code. This can be achieved by inserting malicious code into a template, such as
{literal}<{/literal}script language=php>.Recommendations
For versions prior to 3.1.21, update to version 3.1.21 or later to resolve the issue. As a temporary workaround, consider restricting the use of user-inputted data in templates to minimize the risk of exploitation.
Exploit
Fix
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Smarty