Critical severity · published Jan 3, 2018
CVE-2017-1000480
Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name
9.8
CVSS
3.1%
EPSS
No
On KEV
Description
Smarty 3 before 3.1.32 is vulnerable to a PHP code injection when calling fetch() or display() functions on custom resources that does not sanitize template name.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.1% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SM
Smarty · Smarty
3.0.0 before 3.1.32 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-1000480
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-1000480
Release Notes
https://github.com/smarty-php/smarty/blob/master/change_log.txt
lists.debian.org
https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html
lists.debian.org
https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html
www.debian.org
https://www.debian.org/security/2018/dsa-4094
More from Smarty
9.8
CVE-2021-26120
Smarty before 3.1.39 allows code injection via an unexpected function name after a {function name= substring
9.8
CVE-2011-1028
The $smarty.template variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the sysplugins/smarty_internal_compile_private_special_variable.php file
9.8
CVE-2006-7105
PHP remote file inclusion vulnerability in libs/Smarty.class.php in Smarty 2.6.9 allows remote attackers to execute arbitrary PHP code via a URL in the filename parameter
8.8
CVE-2022-29221
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic
8.8
CVE-2021-29454
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic
