Skip to main content
← All vulnerabilities
CVE-2019-8942

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 a

Published
Last modified
published
Not listed in CISA KEV
2 on Exploit-DB, 1 Metasploit module, 5 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Public exploit on Exploit-DB

    EDB-46511, EDB-46662

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

References 17

wpvulndb.com

Exploit-DB

securityfocus.com

blog.ripstech.com

debian.org

lists.debian.org

packetstormsecurity.com

rapid7.com

GitHub · rapid7/metasploit-framework

GitHub · SpeatX/WordPress-RCE-CVE-2019-8942

GitHub · brianwrf/WordPress_4.9.8_RCE_POC

GitHub · synacktiv/CVE-2019-8942

GitHub · synod2/WP_CROP_RCE

GitHub · tuannq2299/CVE-2019-8942