CVE-2021-42362 WordPress Popular Posts <= 5.3.2 Authenticated Arbitrary File Upload

High 8.8 Published Updated

Authenticated attackers with contributor access can upload malicious files to achieve remote code execution in the WordPress Popular Posts plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-42362?

CVE-2021-42362 is a high-severity vulnerability in WordPress Popular Posts, published on 17 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The WordPress Popular Posts WordPress plugin is vulnerable to arbitrary file uploads due to insufficient input file type validation found in the ~/src/Image.php file which makes it possible for attackers with contributor level access and above to upload malicious files that can be used to obtain remote code execution, in versions up to and including 5.3.2.

Weakness: CWE-434

Which versions are affected by CVE-2021-42362?

It affects 1 product.

Products include Wordpress Popular Posts Project Wordpress Popular Posts.

How do I fix CVE-2021-42362?

No fix has been published for CVE-2021-42362 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-42362 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-42362 exists.

Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-p9wv-phc4-8hqf.

Is CVE-2021-42362 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free