CVE-2021-24978 OSMapper <= 2.1.5 - Unauthenticated Arbitrary Post Deletion

Medium 5.3 Published Updated

Unauthenticated attackers can delete arbitrary posts due to missing authorization and CSRF checks in the OSMapper WordPress plugin.

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

What is CVE-2021-24978?

CVE-2021-24978 is a medium-severity missing authorization vulnerability in Unknown OSMapper, published on 28 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The OSMapper WordPress plugin through 2.1.5 contains an AJAX action to delete a plugin related post type named 'map' and is registered with the wp_ajax_nopriv prefix, making it available to unauthenticated users. There is no authorisation, CSRF and checks in place to ensure that the post to delete is a map one. As a result, unauthenticated user can delete arbitrary posts from the blog

Weakness: CWE-352, CWE-862

Which versions are affected by CVE-2021-24978?

It affects 1 product.

Products include B4after Osmapper.

How do I fix CVE-2021-24978?

No fix has been published for CVE-2021-24978 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-24978 being exploited?

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

Sources

Also known as GHSA-64vf-2ppg-3mgq.

Is CVE-2021-24978 in your software?

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

Check your SBOMs for free