CVE-2021-24962 WordPress File Upload < 4.16.3 - Contributor+ Path Traversal to RCE
Contributors can exploit path traversal to upload malicious PHP files, leading to arbitrary code execution on the WordPress site.
- 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-2021-24962?
CVE-2021-24962 is a high-severity path traversal vulnerability in Unknown WordPress File Upload, published on 28 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WordPress File Upload Free and Pro WordPress plugins before 4.16.3 allow users with a role as low as Contributor to perform path traversal via a shortcode argument, which can then be used to upload a PHP code disguised as an image inside the auto-loaded directory of the plugin, resulting in arbitrary code execution.
Weakness: CWE-22
Which versions are affected by CVE-2021-24962?
It affects 2 products.
Products include Iptanus Wordpress File Upload, Iptanus Wordpress File Upload Pro.
How do I fix CVE-2021-24962?
No fix has been published for CVE-2021-24962 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-2021-24962 being exploited?
There is no known exploitation of CVE-2021-24962 in the wild and no public exploit code.
Other vulnerabilities in Unknown WordPress File Upload
- CVE-2024-11613 Code injection in Iptanus File Upload
- CVE-2024-11635 WordPress File Upload <= 4.24.12 - Unuathenticated Remote Code Execution
- CVE-2024-9047 The WordPress File Upload plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 4.24.11 via wfu_file_downloader.php.
- CVE-2020-10564 Path traversal in n/a
- CVE-2024-9939 WordPress File Upload <= 4.24.13 - Unauthenticated Path Traversal to Arbitrary File Read in wfu_file_downloader.php
Sources
Also known as GHSA-x2qc-gfcm-c5m4.