#VU61665 Code Injection in Smarty - CVE-2021-21408

 

#VU61665 Code Injection in Smarty - CVE-2021-21408

Published: March 28, 2022


Vulnerability identifier: #VU61665
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-21408
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Smarty
Software vendor:
smarty.php.net

Description

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation. A remote user with access to template can run restricted static PHP methods.


Remediation

Install updates from vendor's website.

External links