CVE-2021-42359 WP DSGVO Tools (GDPR) <= 3.1.23 Unauthenticated Arbitrary Post Deletion

High 7.5 Published Updated

Unauthenticated attackers can permanently delete arbitrary posts or pages due to missing capability and nonce checks in an AJAX action.

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-42359?

CVE-2021-42359 is a high-severity missing authorization vulnerability in legalweb WP DSGVO Tools (GDPR), published on 5 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

WP DSGVO Tools (GDPR) <= 3.1.23 had an AJAX action, ‘admin-dismiss-unsubscribe‘, which lacked a capability check and a nonce check and was available to unauthenticated users, and did not check the post type when deleting unsubscription requests. As such, it was possible for an attacker to permanently delete an arbitrary post or page on the site by sending an AJAX request with the “action” parameter set to “admin-dismiss-unsubscribe” and the “id” parameter set to the post to be deleted. Sending such a request would move the post to the trash, and repeating the request would permanently delete the post in question.

Weakness: CWE-862, CWE-284

Which versions are affected by CVE-2021-42359?

It affects 1 product.

Products include Legalweb Wp Dsgvo Tools.

How do I fix CVE-2021-42359?

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

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-m254-mfgm-2hwx.

Is CVE-2021-42359 in your software?

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

Check your SBOMs for free