CVE-2019-8942
Detail
Modified After Enrichment
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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 Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
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 [email protected] .
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-434
Unrestricted Upload of File with Dangerous Type
NIST
Change History
17 change records found show changes
CVE Modified by MITRE
6/16/2026 10:42:49 PM
Action
Type
Old Value
New Value
Added
Affected
[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]
CVE Modified by CVE
11/20/2024 11:50:42 PM
Action
Type
Old Value
New Value
Added
Reference
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
Added
Reference
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
Added
Reference
http://www.securityfocus.com/bid/107088
Added
Reference
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
Added
Reference
https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html
Added
Reference
https://wpvulndb.com/vulnerabilities/9222
Added
Reference
https://www.debian.org/security/2019/dsa-4401
Added
Reference
https://www.exploit-db.com/exploits/46511/
Added
Reference
https://www.exploit-db.com/exploits/46662/
CVE Modified by MITRE
5/14/2024 2:09:39 AM
Action
Type
Old Value
New Value
CWE Remap by NIST
7/21/2021 7:39:23 AM
Action
Type
Old Value
New Value
Changed
CWE
CWE-94
CWE-434
Modified Analysis by NIST
4/25/2019 8:57:21 AM
Action
Type
Old Value
New Value
Changed
Reference Type
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html No Types Assigned
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html Exploit, Third Party Advisory, VDB Entry
Changed
Reference Type
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce No Types Assigned
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce Exploit, Third Party Advisory
Changed
Reference Type
https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html No Types Assigned
https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html Exploit, Third Party Advisory
Changed
Reference Type
https://www.exploit-db.com/exploits/46662/ No Types Assigned
https://www.exploit-db.com/exploits/46662/ Exploit, Third Party Advisory, VDB Entry
CVE Modified by MITRE
4/05/2019 1:29:00 PM
Action
Type
Old Value
New Value
Added
Reference
https://www.exploit-db.com/exploits/46662/ [No Types Assigned]
CVE Modified by MITRE
4/05/2019 4:29:00 AM
Action
Type
Old Value
New Value
Added
Reference
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce [No Types Assigned]
CVE Modified by MITRE
4/04/2019 10:29:00 PM
Action
Type
Old Value
New Value
Added
Reference
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html [No Types Assigned]
CVE Modified by MITRE
3/31/2019 6:29:00 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html [No Types Assigned]
Modified Analysis by NIST
3/20/2019 12:22:57 PM
Action
Type
Old Value
New Value
Changed
Reference Type
https://www.exploit-db.com/exploits/46511/ No Types Assigned
https://www.exploit-db.com/exploits/46511/ Exploit, Third Party Advisory, VDB Entry
CVE Modified by MITRE
3/08/2019 6:29:09 AM
Action
Type
Old Value
New Value
Added
Reference
https://www.exploit-db.com/exploits/46511/ [No Types Assigned]
Modified Analysis by NIST
3/04/2019 8:29:59 AM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Changed
Reference Type
https://www.debian.org/security/2019/dsa-4401 No Types Assigned
https://www.debian.org/security/2019/dsa-4401 Third Party Advisory
CVE Modified by MITRE
3/02/2019 6:29:04 AM
Action
Type
Old Value
New Value
Added
Reference
https://www.debian.org/security/2019/dsa-4401 [No Types Assigned]
Modified Analysis by NIST
3/01/2019 10:45:40 AM
Action
Type
Old Value
New Value
Changed
Reference Type
http://www.securityfocus.com/bid/107088 Third Party Advisory
http://www.securityfocus.com/bid/107088 Third Party Advisory, VDB Entry
Changed
Reference Type
https://wpvulndb.com/vulnerabilities/9222 No Types Assigned
https://wpvulndb.com/vulnerabilities/9222 Third Party Advisory
CVE Modified by MITRE
3/01/2019 6:29:10 AM
Action
Type
Old Value
New Value
Added
Reference
https://wpvulndb.com/vulnerabilities/9222 [No Types Assigned]
Initial Analysis by NIST
2/22/2019 12:29:29 PM
Action
Type
Old Value
New Value
Added
CVSS V3
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Added
CVSS V2
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Added
CWE
CWE-94
Added
CPE Configuration
OR
*cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* versions up to (excluding) 4.9.9
*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:*:*:*:*:*:*
Changed
Reference Type
http://www.securityfocus.com/bid/107088 No Types Assigned
http://www.securityfocus.com/bid/107088 Third Party Advisory
Changed
Reference Type
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ No Types Assigned
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ Exploit, Third Party Advisory
CVE Modified by MITRE
2/21/2019 6:29:00 AM
Action
Type
Old Value
New Value
Added
Reference
http://www.securityfocus.com/bid/107088 [No Types Assigned]
Quick Info
CVE Dictionary Entry: CVE-2019-8942 NVD
Published Date: 02/19/2019 NVD
Last Modified: 06/16/2026
Source: MITRE