First published: Wed Feb 20 2019(Updated: )
WordPress through 5.0.3 allows Path Traversal in wp_crop_image(). An attacker (who has privileges to crop an image) 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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
WordPress | <=5.0.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-8943 has a medium severity rating due to the potential for an attacker with image cropping privileges to exploit the vulnerability.
To fix CVE-2019-8943, update WordPress to version 5.0.4 or later, which addresses this vulnerability.
CVE-2019-8943 is a Path Traversal vulnerability that affects the wp_crop_image() function in WordPress.
An attacker who has privileges to crop an image in WordPress can exploit CVE-2019-8943.
An attacker can write the output image to an arbitrary directory using a crafted filename that includes path traversal sequences.