8.8
HIGH
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.

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.

Affected Products

The following products are affected by CVE-2019-8942 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Wordpress wordpress
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

Updated: 3 weeks, 2 days ago
1 stars 0 fork 0 watcher
Born at : Oct. 30, 2024, 10:25 a.m. This repo has been linked 13 different CVEs too.

None

Python

Updated: 10 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Dec. 26, 2023, 7:20 p.m. This repo has been linked 2 different CVEs too.

WordPress Pen Testing

Updated: 3 months, 2 weeks ago
3 stars 0 fork 0 watcher
Born at : Oct. 23, 2022, 8:42 p.m. This repo has been linked 100 different CVEs too.

Wordpress Exploit AiO Package 2022 with python 3 and 2

HTML Python Shell PHP

Updated: 3 months, 1 week ago
4 stars 3 fork 3 watcher
Born at : June 21, 2022, 4:15 p.m. This repo has been linked 13 different CVEs too.

None

Updated: 1 year ago
1 stars 0 fork 0 watcher
Born at : May 31, 2022, 3:28 a.m. This repo has been linked 1 different CVEs too.

None

Python PHP

Updated: 2 years, 11 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 11, 2021, 2:43 p.m. This repo has been linked 1 different CVEs too.

cve-2019-8942, cve-2019-8943

Dockerfile Python

Updated: 3 years, 6 months ago
0 stars 1 fork 1 watcher
Born at : May 5, 2021, 4:23 p.m. This repo has been linked 2 different CVEs too.

Desarrollo del CTF DerpNStink

Updated: 3 years, 6 months ago
0 stars 1 fork 1 watcher
Born at : April 22, 2021, 1:40 p.m. This repo has been linked 41 different CVEs too.

None

Updated: 8 months, 2 weeks ago
33 stars 3 fork 3 watcher
Born at : March 12, 2021, 12:22 p.m. This repo has been linked 1063 different CVEs too.

Exploit of CVE-2019-8942 and CVE-2019-8943

Python

Updated: 3 months, 1 week ago
19 stars 5 fork 5 watcher
Born at : Feb. 1, 2021, 12:47 p.m. This repo has been linked 2 different CVEs too.

None

Updated: 1 year, 3 months ago
17 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1050 different CVEs too.

None

Updated: 3 months ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

WordPress crop-image exploitation

Python

Updated: 3 months, 1 week ago
4 stars 2 fork 2 watcher
Born at : May 2, 2019, 8:41 a.m. This repo has been linked 1 different CVEs too.

A simple PoC for WordPress RCE (author priviledge), refer to CVE-2019-8942 and CVE-2019-8943.

cve-2019-8942 cve-2019-8943

Updated: 3 months, 1 week ago
74 stars 18 fork 18 watcher
Born at : Feb. 25, 2019, 6:38 a.m. This repo has been linked 2 different CVEs too.

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]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability