HIGH

CVE-2019-8942

CVSS v3

8.8

HIGH

EPSS Score

93.0%

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

Description

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.

Technical details

Published
2/20/2019

Frequently asked questions

What is 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 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.

Is CVE-2019-8942 actively exploited?

Active exploitation of CVE-2019-8942 has not been confirmed. The EPSS score is 93.0%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-8942?

CVE-2019-8942 has a CVSS v3 base score of 8.8 (HIGH severity).

Is CVE-2019-8942 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.