{ "CVE_data_meta": { "ID": "CVE-2021-24236", "ASSIGNER": "contact@wpscan.com", "STATE": "PUBLIC", "TITLE": "Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "generator": "WPScan CVE Generator", "affects": { "vendor": { "vendor_data": [ { "vendor_name": "williewonka", "product": { "product_data": [ { "product_name": "Imagements", "version": { "version_data": [ { "version_affected": "<=", "version_name": "1.2.5", "version_value": "1.2.5" } ] } } ] } } ] } }, "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." } ] }, "references": { "reference_data": [ { "refsource": "CONFIRM", "url": "https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea", "name": "https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "value": "CWE-434 Unrestricted Upload of File with Dangerous Type", "lang": "eng" } ] } ] }, "credit": [ { "lang": "eng", "value": "Jin Huang" } ], "source": { "discovery": "UNKNOWN" } }