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.
Published 2019-02-20 03:29:00
Updated 2021-07-21 11:39:24
Source MITRE
View at NVD,   CVE.org
Vulnerability category: Execute code

Products affected by CVE-2019-8942

Threat overview for CVE-2019-8942

Top countries where our scanners detected CVE-2019-8942
Top open port discovered on systems with this issue 80
IPs affected by CVE-2019-8942 48
Threat actors abusing to this issue? Yes
Find out if you* are affected by CVE-2019-8942!
*Directly or indirectly through your vendors, service providers and 3rd parties. Powered by attack surface intelligence from SecurityScorecard.

Exploit prediction scoring system (EPSS) score for CVE-2019-8942

86.04%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less

Metasploit modules for CVE-2019-8942

  • WordPress Crop-image Shell Upload
    Disclosure Date: 2019-02-19
    First seen: 2020-04-26
    exploit/multi/http/wp_crop_rce
    This module exploits a path traversal and a local file inclusion vulnerability on WordPress versions 5.0.0 and <= 4.9.8. The crop-image function allows a user, with at least author privileges, to resize an image and perform a path traversal by changing the _w

CVSS scores for CVE-2019-8942

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
6.5
MEDIUM AV:N/AC:L/Au:S/C:P/I:P/A:P
8.0
6.4
NIST
8.8
HIGH CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.8
5.9
NIST

CWE ids for CVE-2019-8942

References for CVE-2019-8942

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!