CVE-2017-1000480

CRITICAL

Smarty 3.0.0-3.1.31 - PHP Code Injection via Custom Resource Template Name

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2018/dsa-4094
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/smarty-php/smarty/blob/master/change_log.txt
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/01/msg00023.html
Mailing List mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/02/msg00000.html

Scores

CVSS v3 9.8
EPSS 0.0312
EPSS Percentile 86.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-94
Status published
Products (2)
smarty/smarty 3 - 3.1.32Packagist
smarty/smarty 3.0.0 - 3.1.32
Published Jan 03, 2018
Tracked Since Feb 18, 2026