{"id":"CVE-2021-24236","state":"PUBLISHED","title":"Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE","description":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE.","publishedAt":"2021-05-05T18:39:42.000Z","updatedAt":"2024-08-03T19:21:19.025Z","severity":null,"assigner":"WPScan","products":["williewonka Imagements"],"affected":[{"vendor":"williewonka","product":"Imagements","versions":[{"version":"1.2.5","status":"affected","lessThanOrEqual":"1.2.5","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T19:48:07.505Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/24xxx/CVE-2021-24236.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-24236","state":"PUBLISHED","datePublished":"2021-05-05T18:39:42.000Z","dateUpdated":"2024-08-03T19:21:19.025Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2021-01-14T00:00:00.000Z"},"containers":{"cna":{"title":"Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE","descriptions":[{"lang":"en","value":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE."}],"affected":[{"vendor":"williewonka","product":"Imagements","versions":[{"version":"1.2.5","status":"affected","lessThanOrEqual":"1.2.5","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","dateUpdated":"2021-05-05T18:39:42.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81"},"credits":[{"lang":"en","value":"Jin Huang"}],"source":{"discovery":"UNKNOWN"},"x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24236","STATE":"PUBLIC","TITLE":"Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Imagements","version":{"version_data":[{"version_affected":"<=","version_name":"1.2.5","version_value":"1.2.5"}]}}]},"vendor_name":"williewonka"}]}},"credit":[{"lang":"eng","value":"Jin Huang"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE."}]},"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/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea","refsource":"CONFIRM","url":"https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea"}]},"source":{"discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:21:19.025Z"}}]}}}