{"id":"CVE-2021-24236","published":"2021-05-05T18:39:42Z","modified":"2024-08-03T19:21:19Z","title":"Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE","vendor":"williewonka","product":"Imagements","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.07277,"percentile":0.945,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea","tags":["x_refsource_CONFIRM"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":18.9},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"nuclei":[{"id":"CVE-2021-24236","name":"WordPress Imagements <=1.2.5 - Arbitrary File Upload","severity":"critical","path":"http/cves/2021/CVE-2021-24236.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24236.yaml"}],"provenance":"source"},"vendorSlug":"williewonka","affectedVersions":[{"vendor":"williewonka","product":"Imagements","versions":[">= 1.2.5, <= 1.2.5"]}],"summary":{"text":"The Imagements WordPress plugin through version 1.2.5 accepts image uploads submitted with comments and validates only the Content-Type header to block dangerous files. An unauthenticated remote attacker can exploit this by sending a request with a valid image Content-Type alongside a PHP filename and code, which uploads an executable file and achieves remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:13Z"},"euvd":{"id":"EUVD-2021-11150","exploited":false,"provenance":"source"}}