CVE-2023-23795
📋 TL;DR
This CSRF vulnerability in the Muneeb Form Builder WordPress plugin allows attackers to trick authenticated administrators into performing unintended actions. Attackers can create malicious requests that, when executed by logged-in users, can delete posts or pages. WordPress sites using vulnerable plugin versions are affected.
💻 Affected Systems
- Muneeb Form Builder (Contact Form Add)
📦 What is this software?
Form Builder by Web Settler
⚠️ Risk & Real-World Impact
Worst Case
Attackers could delete all posts and pages on the WordPress site, causing complete content loss and site disruption.
Likely Case
Attackers delete selected posts/pages to cause content loss, defacement, or business disruption.
If Mitigated
With proper CSRF protections, no unauthorized actions can be performed even if users are tricked into clicking malicious links.
🎯 Exploit Status
CSRF attacks are well-understood and easy to implement. Exploitation requires tricking authenticated admin users into clicking malicious links.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: > 1.9.9.0
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Form Builder - Create Responsive Contact Forms' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and remove plugin, then install latest version from WordPress repository.
🔧 Temporary Workarounds
Implement CSRF Protection
allAdd CSRF tokens to plugin forms and validate them on submission
Requires code modification: Add wp_nonce_field() to forms and wp_verify_nonce() validation
Restrict Admin Access
allLimit administrative access to trusted networks only
Add to .htaccess: Order Deny,Allow
Deny from all
Allow from 192.168.1.0/24
Or use WordPress security plugins to restrict admin access
🧯 If You Can't Patch
- Deactivate and remove the vulnerable plugin immediately
- Implement web application firewall (WAF) rules to block CSRF attempts
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins. Look for 'Form Builder - Create Responsive Contact Forms' version <= 1.9.9.0.
Check Version:
wp plugin list --name='contact-form-add' --field=version (if WP-CLI installed)
Verify Fix Applied:
After update, verify plugin version is > 1.9.9.0 in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Multiple POST requests to wp-admin/admin-ajax.php with delete_post actions from unexpected sources
- Sudden deletion of posts/pages in WordPress logs
Network Indicators:
- HTTP POST requests containing delete_post action without proper referrer headers
- Requests with predictable/nonce-less parameters
SIEM Query:
source="wordpress.log" action="delete_post" | stats count by src_ip, user_agent
🔗 References
- https://patchstack.com/database/vulnerability/contact-form-add/wordpress-form-builder-create-responsive-contact-forms-plugin-1-9-9-0-cross-site-request-forgery-csrf-leading-to-post-page-deletion-vulnerability?_s_id=cve
- https://patchstack.com/database/vulnerability/contact-form-add/wordpress-form-builder-create-responsive-contact-forms-plugin-1-9-9-0-cross-site-request-forgery-csrf-leading-to-post-page-deletion-vulnerability?_s_id=cve