CVE-2019-8943 Path traversal in n/a
An attacker with image cropping privileges can write files to arbitrary directories via path traversal in wp_crop_image().
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-8943?
CVE-2019-8943 is a medium-severity path traversal vulnerability in Wordpress Wordpress, published on 20 Feb 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2019-8943?
It affects 1 product.
Products include Wordpress Wordpress.
How do I fix CVE-2019-8943?
No fix has been published for CVE-2019-8943 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-8943 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-8943 exists.
Public exploit code: 1 Metasploit module, 2 Exploit-DB entries, 1 Nuclei template and 2 proofs of concept on GitHub.
Other vulnerabilities in Wordpress Wordpress
Sources
Also known as DEBIAN-CVE-2019-8943, GHSA-558v-vpgj-m324, UBUNTU-CVE-2019-8943.