{"containers":{"cna":{"affected":[{"product":"Autoptimize","vendor":"Unknown","versions":[{"lessThan":"2.7.8","status":"affected","version":"2.7.8","versionType":"custom"}]}],"credits":[{"lang":"en","value":"Marcin Węgłowski"}],"descriptions":[{"lang":"en","value":"The Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archive via the \"Import Settings\" feature, after its extraction. However, the extracted folders are not checked and it is possible to upload a zip which contained a directory with PHP file in it and then it is not removed from the disk. It is a bypass of CVE-2020-24948 which allows sending a PHP file via the \"Import Settings\" functionality to achieve Remote Code Execution."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2021-06-21T19:18:22.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","shortName":"WPScan"},"references":[{"tags":["x_refsource_CONFIRM"],"url":"https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e"}],"source":{"discovery":"UNKNOWN"},"title":"Autoptimize < 2.7.8 - Arbitrary File Upload via \"Import Settings\"","x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24376","STATE":"PUBLIC","TITLE":"Autoptimize < 2.7.8 - Arbitrary File Upload via \"Import Settings\""},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Autoptimize","version":{"version_data":[{"version_affected":"<","version_name":"2.7.8","version_value":"2.7.8"}]}}]},"vendor_name":"Unknown"}]}},"credit":[{"lang":"eng","value":"Marcin Węgłowski"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archive via the \"Import Settings\" feature, after its extraction. However, the extracted folders are not checked and it is possible to upload a zip which contained a directory with PHP file in it and then it is not removed from the disk. It is a bypass of CVE-2020-24948 which allows sending a PHP file via the \"Import Settings\" functionality to achieve Remote Code Execution."}]},"generator":"WPScan CVE Generator","problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-434 Unrestricted Upload of File with Dangerous Type"}]}]},"references":{"reference_data":[{"name":"https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e","refsource":"CONFIRM","url":"https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e"}]},"source":{"discovery":"UNKNOWN"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T19:28:23.812Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://wpscan.com/vulnerability/93edcc23-894a-46c2-84d2-407dcb64ba1e"}]}]},"cveMetadata":{"assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","assignerShortName":"WPScan","cveId":"CVE-2021-24376","datePublished":"2021-06-21T19:18:22.000Z","dateReserved":"2021-01-14T00:00:00.000Z","dateUpdated":"2024-08-03T19:28:23.812Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}