Arbitrary File Upload and Remote Code Execution (RCE) in Imagements WordPress Plugin

Arbitrary File Upload and Remote Code Execution (RCE) in Imagements WordPress Plugin

CVE-2021-24236 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Wordpress Pen Testing.