CVE-2019-8942

published 20 Feb 2019 · updated 4 Aug 2024

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…

7.0HighEPSS 82%4 public exploits

4 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 82%. No fixed version is recorded.

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.

Exploit evidence

4 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2019-8942 severity on Zeptric[![CVE-2019-8942](https://zeptric.io/badge/cve/CVE-2019-8942.svg)](https://zeptric.io/cve/CVE-2019-8942)