CVE-2021-24236

Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE

No CVSS score yet EPSS 7.28%

Published 5 May 2021 Updated 3 Aug 2024 CNA: WPScan

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.

Exploitation

EPSS 7.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.4% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-434 Unrestricted Upload of File with Dangerous Type

Affected products

As the CNA lists them.

ProductVersions
Imagements
affected from 1.2.5 up to and including 1.2.5

Is my server affected?

This CVE is in Imagements of williewonka, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Source: the record CVE-2021-24236 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.