RCE in Smarty
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.031, 88.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (SexyBeast233/SecBooks, superlink996/chunqiuyunjingbachang). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-4094 (vendor-advisory)
- github.com/smarty-php/smarty/blob/master/change_log.txt (Third Party Advisory, Release Notes)
- [debian-lts-announce] 20180119 [SECURITY] [DLA 1249-1] smarty3 security update (mailing-list)
- [debian-lts-announce] 20180201 [SECURITY] [DLA 1249-2] smarty3 regression update (mailing-list)