WordPress security changelog
CRITICAL CVE-2021-24236 Modified

Imagements: A security weakness

Imagements is affected by a security weakness. The vulnerable path is reachable without authentication. The resulting impact depends on how the affected component exposes the vulnerable operation.

CVE / CNA score 9.8 CVSS · contact@wpscan.com
NVD score 9.8 CVSS 3.1 · nvd@nist.gov
Component
Imagements
Plugin slug
imagements
Affected
See vendor advisory
Safe version
See mitigation notes
Published
May 06, 2021
Weakness
CWE-434 — Unrestricted Upload of File with Dangerous Type

This CVE was published May 06, 2021 and is one of 1 known issue for this plugin.

Update, patch or deactivate.

Update Imagements to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

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

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

Primary and upstream sources