Bug 1679143 (CVE-2019-8943)

Summary: CVE-2019-8943 wordpress: path traversal in wp_crop_image()
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, kevin
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:48:15 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: 1679155, 1679154    
Bug Blocks:    

Description Dhananjay Arunesh 2019-02-20 12:57:45 UTC
WordPress through 5.0.3 allows Path Traversal in wp_crop_image(). An attacker
(who has privileges to crop an image) can write the output image to an arbitrary
directory via a filename containing two image extensions and ../ sequences, such
as a filename ending with the .jpg?/../../file.jpg substring.

Reference:
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/

Comment 1 Dhananjay Arunesh 2019-02-20 13:24:20 UTC
Created wordpress tracking bugs for this issue:

Affects: fedora-all [bug 1679154]

Comment 2 Dhananjay Arunesh 2019-02-20 13:24:48 UTC
Created wordpress tracking bugs for this issue:

Affects: epel-all [bug 1679155]

Comment 3 Product Security DevOps Team 2019-06-10 10:48:15 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.