← All CVEs

CVE-2019-8942

high · 8.8

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.

8.8
CVSS
82.7%
EPSS (exploit prob.)
100th
EPSS percentile
2019-02-20
Published

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-434

Affected products

VendorProductAffected versions
wordpresswordpress< 4.9.9
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
wordpresswordpress5.0
debiandebian_linux9.0

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2019-8942