Vulnerability Details : CVE-2019-8942
Public exploit exists!
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.
Vulnerability category: Execute code
Products affected by CVE-2019-8942
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
- 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:rc2:*:*:*:*:*:*
- cpe:2.3:a:wordpress:wordpress:5.0:beta1:*:*:*:*:*:*
- cpe:2.3:a:wordpress:wordpress:5.0:-:*:*:*:*:*:*
- cpe:2.3:a:wordpress:wordpress:5.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:wordpress:wordpress:5.0:rc3:*:*:*:*:*:*
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-19First seen: 2020-04-26exploit/multi/http/wp_crop_rceThis 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
-
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-8942
-
https://www.exploit-db.com/exploits/46511/
WordPress Core 5.0 - Remote Code ExecutionExploit;VDB Entry;Third Party Advisory
-
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
WordPress 5.0.0 Remote Code ExecutionExploit;Third Party Advisory
-
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
WordPress Crop-image Shell Upload | Rapid7Exploit;Third Party Advisory
-
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
WordPress 5.0.0 crop-image Shell Upload ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
http://www.securityfocus.com/bid/107088
WordPress CVE-2019-8942 Remote Code Execution VulnerabilityThird Party Advisory;VDB Entry
-
https://wpvulndb.com/vulnerabilities/9222
WordPress 3.7-5.0 (except 4.9.9) - Authenticated Code ExecutionThird Party Advisory
-
https://www.debian.org/security/2019/dsa-4401
Debian -- Security Information -- DSA-4401-1 wordpressThird Party Advisory
-
https://www.exploit-db.com/exploits/46662/
WordPress 5.0.0 - Crop-image Shell Upload (Metasploit)Exploit;Third Party Advisory;VDB Entry
-
https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html
[SECURITY] [DLA 1742-1] wordpress security updateExploit;Third Party Advisory
Jump to