CVE-2019-8942
WordPress Image File Upload RCE Vulnerability
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.
INFO
Published Date :
Feb. 20, 2019, 3:29 a.m.
Last Modified :
July 21, 2021, 11:39 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2019-8942 has a 14 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2019-8942
.
URL | 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 VDB Entry Third Party Advisory |
https://www.exploit-db.com/exploits/46662/ | Exploit Third Party Advisory VDB Entry |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
Python
WordPress Pen Testing
Wordpress Exploit AiO Package 2022 with python 3 and 2
HTML Python Shell PHP
None
None
Python PHP
cve-2019-8942, cve-2019-8943
Dockerfile Python
Desarrollo del CTF DerpNStink
None
Exploit of CVE-2019-8942 and CVE-2019-8943
Python
None
None
WordPress crop-image exploitation
Python
A simple PoC for WordPress RCE (author priviledge), refer to CVE-2019-8942 and CVE-2019-8943.
cve-2019-8942 cve-2019-8943
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2019-8942
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2019-8942
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Jul. 21, 2021
Action Type Old Value New Value Changed CWE CWE-94 CWE-434 -
Modified Analysis by [email protected]
Apr. 25, 2019
Action Type Old Value New Value 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 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 -
CVE Modified by [email protected]
Apr. 05, 2019
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/46662/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 05, 2019
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 [email protected]
Apr. 05, 2019
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 [email protected]
Mar. 31, 2019
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 [email protected]
Mar. 20, 2019
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 [email protected]
Mar. 08, 2019
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/46511/ [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 04, 2019
Action Type Old Value New Value 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 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 02, 2019
Action Type Old Value New Value Added Reference https://www.debian.org/security/2019/dsa-4401 [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 01, 2019
Action Type Old Value New Value Changed Reference Type https://wpvulndb.com/vulnerabilities/9222 No Types Assigned https://wpvulndb.com/vulnerabilities/9222 Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/107088 Third Party Advisory http://www.securityfocus.com/bid/107088 Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Mar. 01, 2019
Action Type Old Value New Value Added Reference https://wpvulndb.com/vulnerabilities/9222 [No Types Assigned] -
Initial Analysis by [email protected]
Feb. 22, 2019
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 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 Changed Reference Type http://www.securityfocus.com/bid/107088 No Types Assigned http://www.securityfocus.com/bid/107088 Third Party Advisory 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:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 21, 2019
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/107088 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2019-8942
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2019-8942
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
94.33 }} -0.57%
score
0.99257
percentile