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

8.8
Incorrect Authorization
CVE CVE-2021-24905
CVSS 8.8 (High)
Publicly Published February 22, 2022
Last Updated January 22, 2024
Researcher Krzysztof Zając - CERT PL

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

Share

Vulnerability Details for Advanced Contact form 7 DB

Software Type Plugin
Software Slug advanced-cf7-db (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.8.7, or a newer patched version
Affected Version
  • < 1.8.7
Patched Version
  • 1.8.7

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation