WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE

Description

The Imagements WordPress plugin, versions <= 1.2.5, allowed images to be uploaded in comments, however, only checked for the Content-Type HTTP header for validation, which can be tampered with.

This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type header along with a PHP file, leading to Remote Code Execution (RCE).

At the time of writing, the plugin had not been updated in over 8 years, and has been removed from the official WordPress repository.

This vulnerability has been given CVE number CVE-2021-24236.

As there plugin hasn't been updated in 8 years and is no longer on the WordPress repository, it is highly recommended that it be removed as soon as possible and an alternative be found.

Proof of Concept

The PoC will be displayed once the issue has been remediated 

Affects Plugins

imagements
No known fix - plugin closed

References

CVE
CVE-2021-24236
URL
https://github.com/jinhuang1102/CVE-ID-Reports/blob/105e6d7df6cae66fe461003827b6f27c508149fa/Imagement.md

YouTube Video

Classification

Type

UPLOAD

CWE
CWE-434

Miscellaneous

Original Researcher

Jin Huang

Submitter

Jin Huang

Submitter website
https://github.com/jinhuang1102
Submitter twitter
JinHuan70342329
Verified

Yes

WPVDB ID
8f24e74f-60e3-4100-9ab2-ec31b9c9cdea

Timeline

Publicly Published

2021-04-08 (about 1 years ago)

Added

2021-04-08 (about 1 years ago)

Last Updated

2021-04-12 (about 1 years ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us