Skip to content

CVE-2021-24236 Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE

CriticalCVSS 9.8 EPSS 7.3% Scanner template
Published
Updated
Exploit status
No public exploit known
Technology
PHPWordPress

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
imagements project imagements <= 1.2.5 after 1.2.5 Fixed
williewonka Imagements >= 1.2.5, <= 1.2.5 after 1.2.5 Fixed
wordpress imagements(WordPress) <= 1.2.5 after 1.2.5 Fixed

Affected products

ProductAffected versionsFixed in
imagements project imagements <= 1.2.5 No fix listed
williewonka Imagements >= 1.2.5, <= 1.2.5 No fix listed
wordpress imagements(WordPress) <= 1.2.5 No fix listed

References