Skip to main content
Vulnerability Database/CVE-2024-13746

CVE-2024-13746: WordPress Booking Calendar Auth Bypass

CVE-2024-13746 is an authentication bypass flaw in the Booking Calendar and Notification plugin for WordPress that allows unauthenticated attackers to access, modify, or delete booking data and posts. 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-13746 Overview

The Booking Calendar and Notification plugin for WordPress contains a missing authorization vulnerability affecting all versions up to and including 4.0.3. The plugin fails to perform capability checks on three API functions: wpcb_all_bookings(), wpcb_update_booking_post(), and wpcb_delete_posts(). Unauthenticated attackers can extract booking data, create or modify booking entries, and delete arbitrary posts on affected sites. The weakness maps to [CWE-862] Missing Authorization.

Critical Impact

Unauthenticated remote attackers can read booking data, tamper with reservations, and delete any post on a vulnerable WordPress site.

Affected Products

  • WordPress Booking Calendar and Notification plugin versions through 4.0.3
  • WordPress sites exposing the plugin's REST API endpoints
  • Any site relying on the plugin for booking workflows

Discovery Timeline

  • 2025-03-01 - CVE-2024-13746 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-13746

Vulnerability Analysis

The plugin registers three API handlers that execute privileged actions without verifying the caller's capabilities or authentication state. The functions wpcb_all_bookings(), wpcb_update_booking_post(), and wpcb_delete_posts() operate on booking data and WordPress post objects. Review of the plugin source in lib/classes/api.php at lines 134, 188, and 270 confirms the absence of current_user_can() or equivalent permission checks before executing data operations. Attackers reach these endpoints over the network with no credentials and no user interaction.

Root Cause

The root cause is a broken access control pattern [CWE-862]. The plugin exposes AJAX or REST endpoints that invoke database read, write, and delete operations but omits the capability enforcement WordPress expects for privileged actions. Nonce validation and role checks are missing from the vulnerable handlers defined in lib/classes/api.php and lib/includes/function.php.

Attack Vector

An attacker sends crafted HTTP requests directly to the plugin's exposed endpoints. Calling the handler bound to wpcb_all_bookings() returns stored booking records containing customer data. Invoking wpcb_update_booking_post() lets the attacker inject or alter booking entries. Invoking wpcb_delete_posts() with a target post identifier removes arbitrary WordPress content, including pages and posts outside the booking plugin's scope. No authentication, privilege, or user interaction is required.

See the Wordfence Vulnerability Report and the plugin source at WordPress API Class Line 134 for the affected handlers.

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-13746

Indicators of Compromise

  • Unexpected POST or GET requests to WordPress AJAX endpoints referencing wpcb_all_bookings, wpcb_update_booking_post, or wpcb_delete_posts actions
  • Missing or unexpectedly deleted WordPress posts and pages without a corresponding admin audit entry
  • New or modified booking records that cannot be attributed to a legitimate user session
  • Large outbound responses from admin-ajax.php containing booking datasets

Detection Strategies

  • Inspect web server access logs for unauthenticated requests to wp-admin/admin-ajax.php carrying the three vulnerable action names
  • Alert on HTTP requests to plugin endpoints that originate from clients without an authenticated WordPress cookie
  • Correlate post deletion events in the WordPress database with the originating request source and user identifier

Monitoring Recommendations

  • Enable WordPress audit logging for post lifecycle events, especially bulk deletions
  • Monitor plugin inventory and version data for sites running Booking Calendar and Notification at 4.0.3 or earlier
  • Forward web server, WordPress, and WAF logs to a centralized analytics platform for retention and correlation

How to Mitigate CVE-2024-13746

Immediate Actions Required

  • Update the Booking Calendar and Notification plugin to a release later than 4.0.3 when the vendor publishes a fix
  • Disable and remove the plugin on sites that do not actively require booking functionality
  • Restrict access to wp-admin/admin-ajax.php from untrusted networks where feasible
  • Review booking data and WordPress post history for signs of unauthorized modification or deletion

Patch Information

No fixed version was listed in the referenced advisories at the time of publication. Monitor the Wordfence Vulnerability Report and the plugin repository at WordPress Function File for a patched release that introduces capability and nonce checks on the affected handlers.

Workarounds

  • Deploy a web application firewall rule that blocks unauthenticated requests invoking the wpcb_all_bookings, wpcb_update_booking_post, and wpcb_delete_posts actions
  • Take frequent, verified backups of the WordPress database to allow rapid recovery of deleted posts
  • Limit administrative endpoint exposure by placing the WordPress admin interface behind an authenticated reverse proxy or VPN
bash
# Example WAF rule concept: block vulnerable plugin actions from unauthenticated clients
# Deny requests to admin-ajax.php where the action parameter matches the vulnerable handlers
# and no valid wordpress_logged_in_* cookie is present
SecRule REQUEST_URI "@endsWith /wp-admin/admin-ajax.php" \
  "chain,deny,status:403,id:1013746,msg:'Block CVE-2024-13746 unauthenticated plugin actions'"
SecRule ARGS:action "@rx ^(wpcb_all_bookings|wpcb_update_booking_post|wpcb_delete_posts)$" \
  "chain"
SecRule &REQUEST_COOKIES:/wordpress_logged_in_/ "@eq 0"

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.