#VU50869 Security restrictions bypass in Smarty - CVE-2021-26119 

 

#VU50869 Security restrictions bypass in Smarty - CVE-2021-26119

Published: February 23, 2021 / Updated: May 20, 2021


Vulnerability identifier: #VU50869
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:P/U:Green
CVE-ID: CVE-2021-26119
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Smarty
Software vendor:
smarty.php.net

Description

The vulnerability allows a remote user to escalate privileges within the application.

The vulnerability exists due to application does not properly impose security restrictions and allows to escape sandbox by allowing to access the $smarty.template_object. A remote user can perform template injection and execute arbitrary PHP code on the server.


Remediation

Install updates from vendor's website.

External links