WordPress File Upload / WordPress File Upload Pro <= 4.16.2 - Authenticated (Contributor+) Path Traversal

6.5
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE CVE-2021-24962
CVSS 6.5 (Medium)
Publicly Published March 1, 2022
Last Updated December 25, 2022
Researcher apple502j

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.

References

Share

Vulnerability Details for WordPress File Upload

Software Type Plugin
Software Slug wp-file-upload (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.16.3, or a newer patched version
Affected Version
  • <= 4.16.2
Patched Version
  • 4.16.3

1 other affected software package

Software Type Plugin
Software Slug wordpress-file-upload-pro
Patched? Yes
Remediation Update to version 4.16.3, or a newer patched version
Affected Version
  • <= 4.16.2
Patched Version
  • 4.16.3

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation