Wordpress < 4.9.9 - Unrestricted File Upload
Title source: ruleDescription
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.
Exploits (9)
exploitdb
WORKING POC
VERIFIED
by Metasploit · rubyremotephp
https://www.exploit-db.com/exploits/46662
github
WRITEUP
by Zahid-secure · poc
https://github.com/Zahid-secure/cve-walkthrough-labs/tree/main/2019/CVE-2019-8942-8943-Blog-WordPress-RCE
metasploit
WORKING POC
EXCELLENT
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_crop_rce.rb
References (9)
Scores
CVSS v3
8.8
EPSS
0.9301
EPSS Percentile
99.8%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Lab Environment
COMMUNITY
Community Lab
+4 more repos
Details
VulnCheck KEV
2021-04-12
InTheWild.io
2021-04-12
CWE
CWE-434
Status
published
Products (3)
debian/debian_linux
9.0
wordpress/wordpress
5.0 (9 CPE variants)
wordpress/wordpress
< 4.9.9
Published
Feb 20, 2019
Tracked Since
Feb 18, 2026