CVE-2021-42359: WP DSGVO Tools - Broken Access Control
- Cve: CVE-2021-42359
- Name: WP DSGVO Tools - Broken Access Control
- 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.
- Impact: Attackers can permanently delete arbitrary posts or pages, leading to data loss and site disruption.
- Remediation: Implement capability and nonce checks in the AJAX handler, and validate post types before deletion. Update to the latest version where this is fixed.
- Vulnerability type: broken_access_control
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.04595
- Epss percentile: 0.91787
- Assignee: [email protected]
- Published at: 2021-11-05T21:15:09Z
- Age in days: 1845
- Modified at: 2026-06-17T04:09:41Z
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-42359
- Nvd status: modified
- Checked, none or zero: patch available, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
| CWE-862 | Missing Authorization |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2021-11-02 | — | no |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-42359 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-42359.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://www.wordfence.com/blog/2021/11/vulnerability-in-wp-dsgvo-tools-gdpr-plugin-allows-unauthenticated-page-deletion/ | nvd | 2021-11-05 |
References
| Url | Source | Tags |
|---|---|---|
| https://www.wordfence.com/blog/2021/11/vulnerability-in-wp-dsgvo-tools-gdpr-plugin-allows-unauthenticated-page-deletion/ | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-42359.yaml | nuclei_template | Nuclei Template |
| https://patchstack.com/database/vulnerability/shapepress-dsgvo/wordpress-wp-dsgvo-tools-gdpr-plugin-3-1-23-unauthenticated-arbitrary-post-deletion-vulnerability | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| legalweb:wp_dsgvo_tools | <= 3.1.23 | no | nvd | /v1/products/legalweb/wp_dsgvo_tools |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2021-11-02
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-11-05
- Remote: yes
- Exposed hosts: 3
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, initial access since, hackerone reports