WordPress through 5.0.3 allows Path Traversal in wp_crop_image()
No fixed version listed yet.Check the vendor advisory. References ↓
An attacker who is already authorised to crop images can exploit it by supplying a filename containing two image extensions and ../ sequences, such as one ending in .jpg?/../../file.jpg, causing the cropped output to be written to an arbitrary directory.
Official description · CVE.org
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (Metasploit) was available 1 day before disclosure.
- Public exploit codeMetasploit1 day before
- Disclosedday 0
What security researchers reported
Not named in any threat report yetAlso mentioned in 2 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.
- Log4j12 Jan 2022
- Ransomware: Night Sky12 Jan 2022