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

CVE-2024-12383: Binary MLM Woocommerce CSRF Vulnerability

CVE-2024-12383 is a cross-site request forgery flaw in the Binary MLM Woocommerce plugin for WordPress that enables unauthenticated attackers to inject malicious scripts. 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-12383 Overview

CVE-2024-12383 is a Cross-Site Request Forgery (CSRF) vulnerability affecting the Binary MLM WooCommerce plugin for WordPress in all versions up to and including 2.0. The flaw stems from missing or incorrect nonce validation on the bmw_display_pv_set_page function combined with insufficient input sanitization and output escaping of the product_points parameter. Unauthenticated attackers can inject arbitrary web scripts through a forged request, provided they can trick a site administrator into clicking a crafted link. The vulnerability is categorized under CWE-352: Cross-Site Request Forgery.

Critical Impact

Successful exploitation enables attackers to inject persistent JavaScript into administrative pages, potentially leading to session hijacking, administrator account compromise, or full site takeover.

Affected Products

  • Binary MLM WooCommerce plugin for WordPress (all versions ≤ 2.0)
  • WordPress installations with the woo-binary-mlm plugin active
  • Administrator accounts on affected WordPress sites

Discovery Timeline

  • 2025-01-07 - CVE-2024-12383 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-12383

Vulnerability Analysis

The vulnerability resides in the plugin's administrative point-setting functionality, specifically in includes/admin/point_setting.php. The bmw_display_pv_set_page function processes form submissions without validating a WordPress nonce token. This omission removes the standard cross-origin request protection that WordPress provides through its nonce API.

Compounding the CSRF weakness, the product_points parameter is neither sanitized on input nor properly escaped on output. When an administrator submits the form, whether directly or through a forged request, attacker-controlled content is rendered into the resulting admin page. This creates a stored Cross-Site Scripting (XSS) condition reachable via CSRF.

The attack requires user interaction from a privileged user, typically achieved through phishing, malicious advertisements, or embedded links in third-party content viewed while the administrator is authenticated.

Root Cause

The root cause is twofold. First, the plugin fails to invoke wp_verify_nonce() or check_admin_referer() before processing state-changing requests. Second, the product_points value is stored and later reflected without calling escaping functions such as esc_attr(), esc_html(), or sanitizers like sanitize_text_field(). Together, these gaps allow untrusted request data to reach the DOM of an authenticated administrator's browser session.

Attack Vector

An attacker crafts an HTML page containing an auto-submitting form or img tag targeting the vulnerable admin endpoint with a malicious product_points payload. The attacker then lures an authenticated WordPress administrator to visit the page. The browser automatically attaches the administrator's session cookies to the forged request, and the plugin processes the submission as legitimate. The injected script subsequently executes in the administrator's authenticated browser context.

The vulnerable code paths are documented in the plugin source: point_setting.php line 7, line 92, and line 96. See the Wordfence Vulnerability Report for additional analysis.

Detection Methods for CVE-2024-12383

Indicators of Compromise

  • Unexpected modifications to Binary MLM plugin point settings, particularly non-numeric values in the product_points field
  • Web server access logs showing POST requests to bmw_display_pv_set_page originating from external Referer headers
  • New or unfamiliar administrator accounts, plugin installations, or theme file modifications following administrator browsing sessions
  • JavaScript payloads containing <script>, onerror=, or javascript: fragments stored in plugin configuration tables

Detection Strategies

  • Audit the WordPress wp_options table and plugin-specific storage for entries containing HTML or JavaScript within product_points values
  • Monitor administrator browser sessions for outbound requests to unfamiliar domains that could indicate credential exfiltration through injected scripts
  • Deploy a web application firewall rule to flag POST requests to plugin admin endpoints missing valid WordPress nonce parameters (_wpnonce)
  • Review the plugin file includes/admin/point_setting.php against the fixed version referenced in WordPress Changeset 3418912

Monitoring Recommendations

  • Enable WordPress audit logging to record changes to plugin settings, user accounts, and administrative actions with source IP and referer context
  • Alert on cross-origin POST submissions to /wp-admin/ endpoints associated with the Binary MLM plugin
  • Track file integrity for plugin directories and WordPress core to detect secondary payloads dropped through injected scripts

How to Mitigate CVE-2024-12383

Immediate Actions Required

  • Update the Binary MLM WooCommerce plugin to the patched version released in Changeset 3418912
  • If a patched release is unavailable in your environment, deactivate and remove the woo-binary-mlm plugin until it can be updated
  • Rotate administrator credentials and invalidate active WordPress sessions on any site where the plugin was active
  • Review recent plugin configuration changes and administrator activity for signs of exploitation

Patch Information

The vendor addressed the vulnerability in the WordPress plugin repository via Changeset 3418912, which introduces nonce validation and proper sanitization for the affected admin function. Site owners should upgrade to the version containing this patch.

Workarounds

  • Restrict administrator access to trusted networks using IP allowlisting at the web server or reverse proxy layer
  • Instruct administrators to avoid clicking untrusted links while authenticated to the WordPress admin panel, and to use a separate browser profile for administrative tasks
  • Deploy a WAF ruleset that requires WordPress nonce parameters on POST requests to plugin administrative endpoints
  • Enforce a Content Security Policy on the admin dashboard to reduce the impact of injected scripts
bash
# Example WordPress WP-CLI commands to disable the vulnerable plugin
wp plugin deactivate woo-binary-mlm
wp plugin uninstall woo-binary-mlm

# Verify no residual plugin files remain
ls -la wp-content/plugins/ | grep -i binary

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.