CVE-2021-24962 WordPress File Upload < 4.16.3 - Contributor+ Path Traversal to RCE

High 8.8 Published Updated

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.

Sources

Also known as GHSA-x2qc-gfcm-c5m4.

Is CVE-2021-24962 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free