Bug 1679153 (CVE-2019-8942)

Summary: CVE-2019-8942 wordpress: Author users can execute arbitrary code by leveraging path traversal
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:18 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 13:22:27 UTC
WordPress before 4.9.9 and 5.x before 5.0.1 allows remote code execution because
an _wp_attached_file Post Meta entry can be changed to an arbitrary string, such
as one ending with a .jpg?file.php substring. An attacker with author privileges
can execute arbitrary code by uploading a crafted image containing PHP code in
the Exif metadata. Exploitation can leverage CVE-2019-8943.

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

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

Affects: fedora-all [bug 1679154]

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

Affects: epel-all [bug 1679155]

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