CVE-2019-8942
wordpress - security update
8.8
HIGH
CVSS 3.1
EPSS 93.4%
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.
How to fix CVE-2019-8942
To remediate CVE-2019-8942, upgrade the affected package to a fixed version below.
- —upgrade to 5.0.1+dfsg1-1 or later
- —upgrade to 4.1.26+dfsg-1+deb8u1 or later
Is CVE-2019-8942 being exploited?
Likely — EPSS is 93.4%, placing CVE-2019-8942 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (2)
- from 0, < 5.0.1+dfsg1-1
- from 0, < 4.1.26+dfsg-1+deb8u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |