Vulnerability · Published May 5, 2021 · Assigned by WPScan

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

Critical 9.8

In plain English

A critical-severity unrestricted file upload in Imagements from williewonka. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 7.3% (higher than 94% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)7.3%top 5.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Nuclei

Official 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.

Affected products (as reported)

VendorProductVersions
williewonka Imagements 1.2.5 – through 1.2.5

Weakness: CWE-434

References