CVE-2021-24790: Contact Form Advanced Database - Authorization Bypass & Cross-Site Request Forgery
- Cve: CVE-2021-24790
- Name: Contact Form Advanced Database - Authorization Bypass & Cross-Site Request Forgery
- Description: The Contact Form Advanced Database WordPress plugin through 1.0.8 does not have any authorisation as well as CSRF checks in its delete_cf7_data and export_cf7_data AJAX actions, available to any authenticated users, which could allow users with a role as low as subscriber to call them. The delete_cf7_data would lead to arbitrary metadata deletion, as well as PHP Object Injection if a suitable gadget chain is present in another plugin, as user data is passed to the maybe_unserialize() function without being first validated.
- Impact: Low-privileged users can delete data or trigger PHP Object Injection, potentially leading to data tampering or remote code execution.
- Remediation: Update to the latest version of the plugin where the issue is fixed or implement proper authorization and CSRF protections.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: data_tampering, remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be an authenticated user with at least subscriber role
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00382
- Epss percentile: 0.32661
- Assignee: [email protected]
- Published at: 2021-12-13T11:15:08Z
- Age in days: 1807
- Modified at: 2026-06-17T03:40:54Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24790
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-862 | Missing Authorization |
| CWE-352 | Cross-Site Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/adc5dd9b-0781-4cea-8cc5-2c10ac35b968 | nvd | 2021-12-13 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/adc5dd9b-0781-4cea-8cc5-2c10ac35b968 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| contact_form_advanced_database_project:contact_form_advanced_database | <= 1.0.8 | no | nvd | /v1/products/contact_form_advanced_database_project/contact_form_advanced_database |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-12-13
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts