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

CVE-2024-12265: DePay WooCommerce Plugin Auth Bypass Flaw

CVE-2024-12265 is an authentication bypass vulnerability in Web3 Crypto Payments by DePay for WooCommerce that allows unauthenticated attackers to access debug information. This article covers technical details, affected versions, 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-12265 Overview

CVE-2024-12265 affects the Web3 Crypto Payments by DePay for WooCommerce plugin for WordPress. The plugin exposes a REST API endpoint at /wp-json/depay/wc/debug without a capability check. Unauthenticated attackers can query this endpoint and retrieve debug information from the site. The flaw exists in all versions up to and including 2.12.17 and is classified as a Missing Authorization issue [CWE-862]. The exposed data can reveal implementation details useful for follow-on attacks against the WooCommerce store or the hosting environment.

Critical Impact

Unauthenticated remote attackers can read debug information from vulnerable WooCommerce stores running the DePay plugin, enabling reconnaissance against the merchant environment.

Affected Products

  • Web3 Crypto Payments by DePay for WooCommerce (WordPress plugin)
  • All versions up to and including 2.12.17
  • WordPress sites exposing the /wp-json/depay/wc/debug REST route

Discovery Timeline

  • 2024-12-12 - CVE-2024-12265 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-12265

Vulnerability Analysis

The plugin registers the REST route /wp-json/depay/wc/debug to return diagnostic information about the DePay WooCommerce integration. The route handler does not implement a permission_callback that validates the caller's WordPress capabilities. As a result, any client that can reach the WordPress REST API can invoke the endpoint. The returned debug payload can expose configuration state, plugin internals, or environmental details that would normally be restricted to administrators. This information disclosure accelerates reconnaissance and can shorten the path to further compromise of the WooCommerce store.

Root Cause

The root cause is a missing authorization check on a REST route. Under the WordPress REST API model, each register_rest_route call must supply a permission_callback that confirms the caller has the required capability, such as manage_options. The DePay plugin either omits this callback or returns a value that always permits access. The vulnerability is tracked as CWE-862: Missing Authorization.

Attack Vector

Exploitation requires only network access to the target WordPress site. The attacker sends an unauthenticated HTTP GET request to the /wp-json/depay/wc/debug endpoint. No user interaction, credentials, or elevated privileges are required. The response discloses debug information to the attacker. See the Wordfence Vulnerability Analysis and the WordPress Plugin Change Log for the technical specifics of the fix.

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

Indicators of Compromise

  • Unauthenticated HTTP GET requests to /wp-json/depay/wc/debug in web server access logs
  • Requests to the WordPress REST API originating from unfamiliar IP addresses or automated scanners
  • Repeated 200 OK responses to /wp-json/depay/wc/* paths without an authenticated session cookie or application password

Detection Strategies

  • Enumerate installed plugins across WordPress estates and flag any installation of DePay Web3 Crypto Payments for WooCommerce at version 2.12.17 or earlier
  • Query the WordPress REST schema at /wp-json/ to confirm whether the depay/wc/debug route is exposed, then test the route for anonymous accessibility
  • Review WAF and reverse proxy logs for request patterns targeting known vulnerable plugin REST namespaces

Monitoring Recommendations

  • Alert on anonymous access to any /wp-json/ route that is expected to require authentication
  • Baseline normal REST API traffic for WooCommerce sites and investigate deviations such as spikes in depay namespace calls
  • Correlate REST endpoint reconnaissance with subsequent login or admin-ajax activity to identify multi-stage intrusions

How to Mitigate CVE-2024-12265

Immediate Actions Required

  • Update the Web3 Crypto Payments by DePay for WooCommerce plugin to a version later than 2.12.17
  • If an update is not yet possible, block external access to /wp-json/depay/wc/debug at the WAF or web server layer
  • Review historical access logs for prior requests to the debug endpoint and treat any disclosed debug data as potentially known to attackers

Patch Information

The plugin maintainer addressed the missing capability check in a release following 2.12.17. The code change is documented in the WordPress Plugin Change Log. Administrators should upgrade through the WordPress plugin updater and verify the installed version in the Plugins screen.

Workarounds

  • Restrict the /wp-json/depay/wc/debug path at the reverse proxy or WAF to administrative source IPs only
  • Disable the DePay plugin until it is updated if Web3 payments are not currently in use
  • Require authentication for all WordPress REST API traffic by applying a filter on rest_authentication_errors that rejects anonymous requests
bash
# Example: block the vulnerable REST path at the Nginx layer
location = /wp-json/depay/wc/debug {
    deny all;
    return 403;
}

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.