CVE-2021-34627 WP Upload Restriction <= 2.2.3 - Missing Access Control in getSelectedMimeTypesByRole function

Medium 4.3 Published Updated

Low-level authenticated users can view administrator-defined custom file extensions due to missing access control in the WP Upload Restriction 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-34627?

CVE-2021-34627 is a medium-severity missing authorization vulnerability in WP Upload Restriction, published on 7 Jul 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability in the getSelectedMimeTypesByRole function of the WP Upload Restriction WordPress plugin allows low-level authenticated users to view custom extensions added by administrators. This issue affects versions 2.2.3 and prior.

Weakness: CWE-284

Which versions are affected by CVE-2021-34627?

It affects 1 product.

Products include Wp-Upload-Restriction Project Wp-Upload-Restriction.

How do I fix CVE-2021-34627?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-34627 being exploited?

There is no known exploitation of CVE-2021-34627 in the wild and no public exploit code.

Sources

Also known as GHSA-335f-9mr2-fg88.

Is CVE-2021-34627 in your software?

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

Check your SBOMs for free