#VU17788 Path traversal in WordPress - CVE-2019-8943

 

#VU17788 Path traversal in WordPress - CVE-2019-8943

Published: February 20, 2019 / Updated: February 3, 2021


Vulnerability identifier: #VU17788
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2019-8943
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
WordPress
Software vendor:
WordPress.ORG

Description

The vulnerability allows a remote attacker to execute PHP code on the target system.

The weakness exists due to path traversal in wp_crop_image(). A remote attacker can write the output image to an arbitrary directory via a filename containing two image extensions and ../ sequences, such as a filename ending with the .jpg?/../../file.jpg substring.

Successful exploitation of the vulnerability is possible when combined with CVE-2019-8942.

Remediation

Install update from vendor's website.

External links