CVE-2019-8942

Summary

CVECVE-2019-8942
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-02-20 03:29:00 UTC
Updated2021-07-21 11:39:00 UTC
DescriptionWordPress 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.

Risk And Classification

Problem Types: CWE-434

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Wordpress Wordpress All All All All
Application Wordpress Wordpress 5.0 - All All
Application Wordpress Wordpress 5.0 beta1 All All
Application Wordpress Wordpress 5.0 beta2 All All
Application Wordpress Wordpress 5.0 beta3 All All
Application Wordpress Wordpress 5.0 beta4 All All
Application Wordpress Wordpress 5.0 beta5 All All
Application Wordpress Wordpress 5.0 rc1 All All
Application Wordpress Wordpress 5.0 rc2 All All
Application Wordpress Wordpress 5.0 rc3 All All
Application Wordpress Wordpress All All All All
Application Wordpress Wordpress 5.0 - All All
Application Wordpress Wordpress 5.0 beta1 All All
Application Wordpress Wordpress 5.0 beta2 All All
Application Wordpress Wordpress 5.0 beta3 All All
Application Wordpress Wordpress 5.0 beta4 All All
Application Wordpress Wordpress 5.0 beta5 All All
Application Wordpress Wordpress 5.0 rc1 All All
Application Wordpress Wordpress 5.0 rc2 All All
Application Wordpress Wordpress 5.0 rc3 All All

References

ReferenceSourceLinkTags
Debian -- Security Information -- DSA-4401-1 wordpress DEBIAN www.debian.org Third Party Advisory
WordPress 3.7-5.0 (except 4.9.9) - Authenticated Code Execution MISC wpvulndb.com Third Party Advisory
WordPress Core 5.0 - Remote Code Execution - PHP webapps Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
WordPress 5.0.0 Remote Code Execution MISC blog.ripstech.com Exploit, Third Party Advisory
WordPress Crop-image Shell Upload MISC www.rapid7.com Exploit, Third Party Advisory
WordPress CVE-2019-8942 Remote Code Execution Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
WordPress 5.0.0 crop-image Shell Upload ≈ Packet Storm MISC packetstormsecurity.com Exploit, Third Party Advisory, VDB Entry
WordPress Core 5.0.0 - Crop-image Shell Upload (Metasploit) - PHP remote Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
[SECURITY] [DLA 1742-1] wordpress security update MLIST lists.debian.org Exploit, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report