CVE-2019-8942
HIGH 8.8EPSS 82.7%
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.
- CVSS v3.0
- 8.8 HIGH
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0
- 6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P - EPSS
- 82.74% chance of exploitation in the next 30 days, 100th percentile
- Nuclei
- high
- Published
- 2019-02-20
- Updated
- 2024-08-04
Proof-of-concept exploits (9)
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
- brianwrf/WordPress_4.9.8_RCE_POC73★ · 2019-03-18
- oussama-rahali/CVE-2019-894324★ · 2021-02-02
- ret2x-tools/poc-wordpress-5.0.00★ · 2023-12-26
- synacktiv/CVE-2019-89424★ · 2019-05-02
- tuannq2299/CVE-2019-89421★ · 2022-05-31
- v0lck3r/CVE-2019-894324★ · 2021-02-02
- SpeatX/WordPress-RCE-CVE-2019-8942