Skip to main content

CVE-2024-1640: Bitapps Contact Form Builder Auth Bypass Flaw

CVE-2024-1640 is an authentication bypass vulnerability in Bitapps Contact Form Builder that allows unauthenticated attackers to modify form submissions. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-1640 Overview

CVE-2024-1640 affects the Bit Form Contact Form Builder plugin for WordPress, developed by Bitapps. The plugin fails to perform sufficient user validation on the bitforms_update_form_entry AJAX action. Unauthenticated attackers can abuse this flaw to modify form submission entries stored by the plugin. The issue is classified under [CWE-639] Authorization Bypass Through User-Controlled Key and impacts all versions up to and including 2.10.1.

Critical Impact

Unauthenticated remote attackers can tamper with any form submission entry, altering stored data such as contact messages, payment form details, and custom form input across affected WordPress sites.

Affected Products

  • Bitapps Contact Form Builder plugin for WordPress (versions <= 2.10.1)
  • WordPress installations using Bit Form Multi Step Contact Form
  • WordPress installations using Bit Form Payment Form and Custom Contact Form modules

Discovery Timeline

  • 2024-03-13 - CVE-2024-1640 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-1640

Vulnerability Analysis

The flaw resides in the AJAX handler bitforms_update_form_entry exposed by the plugin's frontend code in includes/Frontend/Ajax/FrontendAjax.php. The handler accepts requests to update stored form entries but does not verify the identity or authorization of the requester. Any client who can reach the WordPress AJAX endpoint can submit entry update requests. The vulnerability enables modification of stored entries belonging to other users or administrators.

Because the request requires no authentication and no privileges, exploitation is trivial over the network. Only integrity of form data is impacted; confidentiality and availability remain intact per the CVSS vector. Sites that rely on form entries for workflows, approvals, order confirmations, or lead data face falsified records as a result.

Root Cause

The root cause is missing user validation and insecure direct object reference handling on an AJAX action. The handler trusts a user-supplied entry identifier and processes updates without checking a WordPress nonce, capability, or ownership relationship. This is the pattern described by [CWE-639].

Attack Vector

An attacker sends a crafted HTTP POST request to /wp-admin/admin-ajax.php specifying action=bitforms_update_form_entry along with an arbitrary entry identifier and modified field values. The plugin writes the attacker-supplied values to the stored entry record. The attack requires no account, no user interaction, and only standard HTTP access to the target site. See the Wordfence Vulnerability Report for additional technical context.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2024-1640

Indicators of Compromise

  • Unexpected POST requests to /wp-admin/admin-ajax.php containing action=bitforms_update_form_entry from unauthenticated sessions.
  • Form entry records in the Bit Form database tables whose contents or timestamps changed without corresponding admin activity.
  • Access log entries showing repeated AJAX calls to the plugin endpoint from a single external IP enumerating entry IDs.

Detection Strategies

  • Review web server access logs for the bitforms_update_form_entry action parameter and alert on requests lacking an authenticated session cookie.
  • Compare current Bit Form entry data against backups to identify unauthorized modifications.
  • Deploy WordPress-aware WAF rules that block the vulnerable action for the affected plugin versions.

Monitoring Recommendations

  • Forward WordPress and web server logs to a central analytics platform for correlation and historical review.
  • Monitor the wp_bitforms_form_entries tables for row-level changes using database audit logging.
  • Alert on new POST patterns targeting WordPress AJAX endpoints associated with form plugins.

How to Mitigate CVE-2024-1640

Immediate Actions Required

  • Update the Bit Form Contact Form Builder plugin to a version later than 2.10.1 immediately.
  • Audit stored form entries for signs of tampering and restore clean data from backups where needed.
  • Restrict external access to /wp-admin/admin-ajax.php through a WAF rule set that blocks unauthenticated calls to bitforms_update_form_entry.

Patch Information

The vendor fixed the issue in the plugin trunk. Refer to the WordPress Changeset 3048523 for the exact code change applied to FrontendAjax.php. Install the latest release from the WordPress plugin repository to receive the fix.

Workarounds

  • Deactivate and remove the Bit Form plugin until the site can be updated to a patched version.
  • Add WAF or reverse-proxy rules that drop requests containing action=bitforms_update_form_entry from unauthenticated clients.
  • Limit access to the WordPress admin AJAX endpoint by IP allowlist where business workflows permit.
bash
# Example ModSecurity rule to block the vulnerable AJAX action
SecRule REQUEST_URI "@contains /wp-admin/admin-ajax.php" \
  "chain,phase:2,deny,status:403,id:1640001,msg:'Block CVE-2024-1640 Bit Form entry update'"
  SecRule ARGS:action "@streq bitforms_update_form_entry" "t:none"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.