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

CVE-2024-12712: WordPress Shopping Cart Auth Bypass Flaw

CVE-2024-12712 is an authentication bypass vulnerability in the Shopping Cart & eCommerce Store plugin for WordPress that lets unauthenticated attackers modify order statuses. This article covers technical details and mitigation.

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-12712 Overview

CVE-2024-12712 affects the Shopping Cart & eCommerce Store plugin (wp-easycart) for WordPress. The plugin exposes a webhook function that lacks a capability check, allowing unauthenticated network attackers to modify order statuses. All versions up to and including 5.7.8 are affected. The flaw is classified under CWE-862: Missing Authorization and impacts data integrity on affected storefronts.

Critical Impact

Unauthenticated attackers can tamper with order status data in WordPress sites running vulnerable versions of the WP EasyCart plugin, undermining order processing workflows.

Affected Products

  • Shopping Cart & eCommerce Store plugin for WordPress (wp-easycart)
  • All versions through 5.7.8
  • Patched in the changeset referenced on WordPress.org plugin trac

Discovery Timeline

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

Technical Details for CVE-2024-12712

Vulnerability Analysis

The plugin registers a webhook handler that other systems can call to update WordPress Commerce order records. The handler accepts order identifier and status parameters from the request and writes those values back into the database. Because no permission or nonce check gates the handler, any unauthenticated client that can reach the WordPress site can submit valid-looking webhook payloads. The result is unauthorized modification of order statuses, including transitioning orders to states such as paid, shipped, or canceled.

The fix landed in the WordPress plugin repository changeset for wpeasycart.php, which introduces authorization logic around the webhook entry point. Refer to the WordPress Plugin Changeset for the specific code change.

Root Cause

The root cause is a missing capability check [CWE-862] on the webhook callback registered by the plugin. The handler trusts incoming requests without validating the caller's identity, role, or a signed webhook secret. This design treats the webhook endpoint as implicitly trustworthy despite being internet-reachable.

Attack Vector

The attack is remote and network-based with no authentication, no user interaction, and low complexity. An attacker sends crafted HTTP requests to the plugin's webhook endpoint on a target WordPress site. By specifying order identifiers and target statuses, the attacker can force state transitions on existing orders. See the Wordfence Vulnerability Report for additional analysis.

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

Indicators of Compromise

  • Unexpected changes in order status (for example, orders flipped to paid, shipped, or canceled) that do not match payment processor records.
  • HTTP POST or GET requests to the WP EasyCart webhook endpoint from unrecognized IP addresses or without an associated administrative session.
  • Audit log gaps around order modifications where no authenticated administrator action corresponds to the state change.

Detection Strategies

  • Compare order status timelines in WordPress against the payment gateway's authoritative transaction records to identify unauthorized transitions.
  • Enable verbose web server access logging and search for requests targeting wpeasycart webhook paths from external sources.
  • Deploy a web application firewall rule that flags unauthenticated requests invoking plugin webhook actions on /wp-admin/admin-ajax.php or related endpoints.

Monitoring Recommendations

  • Alert on bulk order status changes occurring within short time windows, which may indicate automated abuse.
  • Monitor the installed version of wp-easycart across managed WordPress sites and flag any instance at 5.7.8 or earlier.
  • Forward WordPress and web server logs to a centralized analytics platform for correlation across sites and tenants.

How to Mitigate CVE-2024-12712

Immediate Actions Required

  • Update the Shopping Cart & eCommerce Store plugin to the version released after changeset 3211285 on all WordPress sites.
  • Audit recent order history and reconcile WordPress order statuses with payment processor records to detect prior tampering.
  • Restrict access to the plugin's webhook endpoint at the network edge until patching completes.

Patch Information

The vendor addressed the missing authorization check in the wpeasycart.php file. Review the WordPress Plugin Changeset 3211285 for the exact modifications. Administrators should install the fixed version through the WordPress plugin updater or by downloading it directly from the WordPress.org plugin directory.

Workarounds

  • Temporarily disable the WP EasyCart plugin on sites that cannot be updated immediately.
  • Add web application firewall rules that require authentication or a shared secret header for requests reaching the webhook handler.
  • Place the WordPress administrative and webhook endpoints behind IP allowlisting where feasible for upstream processors.
bash
# Example WAF rule concept: block unauthenticated requests to the WP EasyCart webhook action
# Replace <webhook_action_name> with the specific action parameter used by the plugin
SecRule REQUEST_URI "@contains /wp-admin/admin-ajax.php" \
  "chain,deny,status:403,id:1012712,msg:'Block unauthenticated WP EasyCart webhook'"
  SecRule ARGS:action "@streq <webhook_action_name>" \
    "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.