Vulnerability identifier: #VU17788
Vulnerability risk: High
CVSSv3.1: 9.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-22
Exploitation vector: Network
Exploit availability: Yes
Vulnerable software:
WordPress
Web applications /
CMS
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.
Mitigation
Install update from vendor's website.
Vulnerable software versions
WordPress: 5.0 - 5.0.3, 4.9.1 - 4.9.9
External links
http://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.