Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2019-8942 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html CVEExploitThird Party AdvisoryVDB Entry
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ CVEExploitThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html CVEExploitThird Party Advisory
https://wpvulndb.com/vulnerabilities/9222 CVEThird Party Advisory
https://www.debian.org/security/2019/dsa-4401 CVEThird Party Advisory

see all 18 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-434Unrestricted Upload of File with Dangerous Type[email protected]

Affected Products

ProductVersions
wordpress wordpress
< 4.9.9
5.0 -
5.0 beta1
5.0 beta2
5.0 beta3

CPE

  • cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:-:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:beta2:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:beta3:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:beta4:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:beta5:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:wordpress:wordpress:5.0:rc3:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
9.0

CPE

  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

17 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2019-8942
NVD Published Date:
Feb 20, 2019
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]