CVE-2021-24962

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

No CVSS score yet EPSS 2.80%

Published 28 Mar 2022 Updated 3 Aug 2024 CNA: WPScan

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.

Exploitation

EPSS 2.80%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 86.8% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

Affected products

As the CNA lists them.

ProductVersions
WordPress File Upload
Unknown
affected from 4.16.3, before 4.16.3
WordPress File Upload Pro
Unknown
affected from 4.16.3, before 4.16.3

Is my server affected?

This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2021-24962 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.