National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-8942 Detail

Current Description

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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 8.8 HIGH
Vector:  CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html Exploit Third Party Advisory VDB Entry
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce Exploit Third Party Advisory
http://www.securityfocus.com/bid/107088 Third Party Advisory VDB Entry
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ Exploit Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html Exploit Third Party Advisory
https://wpvulndb.com/vulnerabilities/9222 Third Party Advisory
https://www.debian.org/security/2019/dsa-4401 Third Party Advisory
https://www.exploit-db.com/exploits/46511/ Exploit Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/46662/ Exploit Third Party Advisory VDB Entry

Weakness Enumeration

CWE-ID CWE Name Source
CWE-94 Improper Control of Generation of Code ('Code Injection') NIST  

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:wordpress:wordpress
     Show Matching CPE(s)
Up to (excluding)
4.9.9
 cpe:/a:wordpress:wordpress:5.0:-
     Show Matching CPE(s)
 cpe:/a:wordpress:wordpress:5.0:beta1
     Show Matching CPE(s)
 cpe:/a:wordpress:wordpress:5.0:beta2
     Show Matching CPE(s)
 cpe:/a:wordpress:wordpress:5.0:beta3
     Show Matching CPE(s)
 cpe:/a:wordpress:wordpress:5.0:beta4
     Show Matching CPE(s)
 cpe:/a:wordpress:wordpress:5.0:beta5
     Show Matching CPE(s)
 cpe:/a:wordpress:wordpress:5.0:rc1
     Show Matching CPE(s)
 cpe:/a:wordpress:wordpress:5.0:rc2
     Show Matching CPE(s)
 cpe:/a:wordpress:wordpress:5.0:rc3
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:/o:debian:debian_linux:9.0
     Show Matching CPE(s)


Change History

13 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-8942
NVD Published Date:
02/19/2019
NVD Last Modified:
04/25/2019