Advanced Contact form 7 DB <= 1.8.6 - Authenticated Arbitrary File Deletion

Incorrect Authorization
CVE CVE-2021-24905
CVSS High (8.8)
Publicly Published February 22, 2022
Last Updated January 22, 2024
Researcher Krzysztof Zając
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.

References

1 affected software package

Software Type Plugin
Software Slug advanced-cf7-db (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 1.8.7
Patched Version
  • 1.8.7
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.