Bug 1695299 (CVE-2018-17057)

Summary: CVE-2018-17057 php-tcpdf: phar deserialization in TCPDF might lead to RCE
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, fedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:52:54 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: 1695300, 1695301    
Bug Blocks:    

Description Pedro Sampaio 2019-04-02 19:19:06 UTC
PDF creation script is vulnerable to Cross-Site Scripting (or "Code Injection") issues through which an attacker can inject arbitrary HTML code. For example during an invoice creation, an attacker can use its information written on the invoice to insert a malicious "link" tag pointing to a local phar archive and trigger a PHP Object Injection through the phar:// scheme once the web application reads that file.

References:

https://seclists.org/fulldisclosure/2019/Mar/36

Comment 1 Pedro Sampaio 2019-04-02 19:19:56 UTC
Created php-tcpdf tracking bugs for this issue:

Affects: epel-all [bug 1695301]
Affects: fedora-all [bug 1695300]

Comment 2 Product Security DevOps Team 2019-06-10 10:52:54 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.