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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2019-02-20T03:00:00

Updated: 2024-08-04T21:31:37.567Z

Reserved: 2019-02-19T00:00:00

Link: CVE-2019-8943

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2019-02-20T03:29:00.297

Modified: 2021-02-23T16:21:02.087

Link: CVE-2019-8943

cve-icon Redhat

No data.