CVE-2021-24905: Advanced Contact form 7 DB - Broken Access Control
- Cve: CVE-2021-24905
- Name: Advanced Contact form 7 DB - Broken Access Control
- Description: The Advanced Contact form 7 DB WordPress plugin before 1.8.7 does not have authorisation nor CSRF checks in the acf7_db_edit_scr_file_delete AJAX action, and does not validate the file to be deleted, allowing any authenticated user to delete arbitrary files on the web server. For example, removing the wp-config.php allows attackers to trigger WordPress setup again, gain administrator privileges and execute arbitrary code or display arbitrary content to the users.
- Impact: Attackers can delete critical files like wp-config.php, leading to privilege escalation, arbitrary code execution, or website defacement.
- Remediation: Update to version 1.8.7 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: file_system_write, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated as a user
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0077
- Epss percentile: 0.56367
- Assignee: [email protected]
- Published at: 2022-03-21T19:15:08Z
- Age in days: 1709
- Modified at: 2026-06-17T03:41:06Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24905
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-863 | Incorrect Authorization |
| CWE-352 | Cross-Site Request Forgery |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6 | nvd | 2022-03-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vsourz:advanced_cf7_db | < 1.8.7 | no | nvd | /v1/products/vsourz/advanced_cf7_db |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-03-21
- 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