Bug 1532492 (CVE-2017-1000480)

Summary: CVE-2017-1000480 php-Smarty: Code injection when calling fetch() or display() on unsanitized template names
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: christof, shawn
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php-Smarty 3.1.32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-21 04:07:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1532493, 1532494    
Bug Blocks:    

Description Sam Fowler 2018-01-09 05:43:30 UTC
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:
https://nvd.nist.gov/vuln/detail/CVE-2017-1000480
https://github.com/smarty-php/smarty/commit/614ad1f8b9b00086efc123e49b7bb8efbfa81b61
https://github.com/smarty-php/smarty/blob/master/change_log.txt

Comment 1 Sam Fowler 2018-01-09 05:44:05 UTC
Created php-Smarty tracking bugs for this issue:

Affects: epel-all [bug 1532493]
Affects: fedora-all [bug 1532494]

Comment 2 Shawn Iwinski 2019-03-21 03:25:06 UTC
All dependent bugs have been closed.  Can this tracking bug be closed?

Comment 3 Sam Fowler 2019-03-21 04:07:56 UTC
In reply to comment #2:
> All dependent bugs have been closed.  Can this tracking bug be closed?

Yep, closed.