{"id":"CVE-2021-24962","state":"PUBLISHED","title":"WordPress File Upload < 4.16.3 - Contributor+ Path Traversal to RCE","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.","publishedAt":"2022-03-28T17:21:01.000Z","updatedAt":"2024-08-03T19:49:14.540Z","severity":null,"assigner":"WPScan","products":["Unknown WordPress File Upload","Unknown WordPress File Upload Pro"],"affected":[{"vendor":"Unknown","product":"WordPress File Upload","versions":[{"version":"4.16.3","status":"affected","lessThan":"4.16.3","versionType":"custom"}]},{"vendor":"Unknown","product":"WordPress File Upload Pro","versions":[{"version":"4.16.3","status":"affected","lessThan":"4.16.3","versionType":"custom"}]}],"references":["https://plugins.trac.wordpress.org/changeset/2677722","https://wpscan.com/vulnerability/7a95b3f2-285e-40e3-aead-41932c207623"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:48:07.505Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/24xxx/CVE-2021-24962.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-24962","state":"PUBLISHED","datePublished":"2022-03-28T17:21:01.000Z","dateUpdated":"2024-08-03T19:49:14.540Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2021-01-14T00:00:00.000Z"},"containers":{"cna":{"title":"WordPress File Upload < 4.16.3 - Contributor+ Path Traversal to RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Unknown","product":"WordPress File Upload","versions":[{"version":"4.16.3","status":"affected","lessThan":"4.16.3","versionType":"custom"}]},{"vendor":"Unknown","product":"WordPress File Upload Pro","versions":[{"version":"4.16.3","status":"affected","lessThan":"4.16.3","versionType":"custom"}]}],"references":[{"url":"https://plugins.trac.wordpress.org/changeset/2677722","tags":["x_refsource_CONFIRM"]},{"url":"https://wpscan.com/vulnerability/7a95b3f2-285e-40e3-aead-41932c207623","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","dateUpdated":"2022-03-28T17:21:01.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81"},"credits":[{"lang":"en","value":"apple502j"}],"source":{"discovery":"EXTERNAL"},"x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24962","STATE":"PUBLIC","TITLE":"WordPress File Upload < 4.16.3 - Contributor+ Path Traversal to RCE"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"WordPress File Upload","version":{"version_data":[{"version_affected":"<","version_name":"4.16.3","version_value":"4.16.3"}]}},{"product_name":"WordPress File Upload Pro","version":{"version_data":[{"version_affected":"<","version_name":"4.16.3","version_value":"4.16.3"}]}}]},"vendor_name":"Unknown"}]}},"credit":[{"lang":"eng","value":"apple502j"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":"WPScan CVE Generator","problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://plugins.trac.wordpress.org/changeset/2677722","refsource":"CONFIRM","url":"https://plugins.trac.wordpress.org/changeset/2677722"},{"name":"https://wpscan.com/vulnerability/7a95b3f2-285e-40e3-aead-41932c207623","refsource":"MISC","url":"https://wpscan.com/vulnerability/7a95b3f2-285e-40e3-aead-41932c207623"}]},"source":{"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://plugins.trac.wordpress.org/changeset/2677722","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://wpscan.com/vulnerability/7a95b3f2-285e-40e3-aead-41932c207623","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:49:14.540Z"}}]}}}