Skip to main content

CVE-2024-6010: Cost Calculator Builder Price Manipulation

CVE-2024-6010 is a price manipulation flaw in Stylemixthemes Cost Calculator Builder PRO that allows unauthenticated attackers to alter order prices. This article covers the technical details, affected versions, and mitigation steps.

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

CVE-2024-6010 is a business logic vulnerability in the Cost Calculator Builder PRO plugin for WordPress, affecting all versions up to and including 3.2.1. The flaw resides in the create_cc_order function, which accepts the price field from client-submitted data without server-side validation. Unauthenticated attackers can tamper with the price value before the order is processed, submitting orders at arbitrary costs. This vulnerability was partially patched in the companion Cost Calculator Builder plugin version 3.2.17. The weakness is classified as External Control of Assumed-Immutable Web Parameter [CWE-472].

Critical Impact

Unauthenticated attackers can manipulate order prices submitted through the calculator, enabling fraudulent purchases at attacker-controlled values with no authentication required.

Affected Products

  • Stylemixthemes Cost Calculator Builder PRO plugin for WordPress
  • All versions up to and including 3.2.1
  • WordPress sites using the companion Cost Calculator Builder plugin prior to 3.2.17

Discovery Timeline

  • 2024-09-07 - CVE-2024-6010 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-6010

Vulnerability Analysis

The Cost Calculator Builder PRO plugin exposes an order creation endpoint through the create_cc_order function. The function trusts the price field sent by the client as part of the order submission payload. Because the server does not recompute or validate the price against the configured calculator formula and item definitions, attackers can intercept the HTTP request and substitute any arbitrary value. The order is then persisted and processed at the attacker-supplied price. The attack requires no authentication and no user interaction, making automated abuse against vulnerable e-commerce sites straightforward.

Root Cause

The root cause is a failure to treat client-submitted pricing as untrusted input. The plugin assumes the price parameter in the order submission is immutable after being rendered by the frontend JavaScript in order.js. In reality, HTTP parameters originating from the browser must be revalidated server-side. By depending on client-side pricing calculation and failing to recompute totals from authoritative server-side item definitions, the plugin exposes a classic External Control of Assumed-Immutable Web Parameter weakness [CWE-472].

Attack Vector

Exploitation is performed over the network against the WordPress site's AJAX or REST endpoint used by the calculator. An attacker loads a form built with Cost Calculator Builder PRO, inspects the outbound order request using any HTTP proxy, and modifies the price field to a value of their choosing before submission. The server accepts the forged price and creates an order record reflecting it. For a technical reference, see the WordPress Plugin JS File and the Wordfence Vulnerability Report.

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

Indicators of Compromise

  • Orders in the WordPress database with prices that do not match the configured calculator formulas or item unit costs.
  • Unusually low or zero-value orders submitted through the Cost Calculator Builder form, especially in high volume.
  • HTTP POST requests to the create_cc_order AJAX action containing arithmetically inconsistent price values versus submitted quantities and options.

Detection Strategies

  • Audit historical orders generated by Cost Calculator Builder and recompute expected prices from stored line items; flag mismatches.
  • Instrument the web application firewall or reverse proxy to log and compare submitted price fields against expected ranges per product.
  • Monitor for repeated submissions from the same IP address or user agent targeting the calculator endpoint.

Monitoring Recommendations

  • Enable verbose request logging on WordPress AJAX endpoints and ingest logs into a centralized analytics platform for anomaly review.
  • Alert on order creation events where submitted price deviates from server-recomputed price by more than a defined threshold.
  • Review payment processor records for successful transactions at anomalous amounts tied to the vulnerable plugin.

How to Mitigate CVE-2024-6010

Immediate Actions Required

  • Update the Cost Calculator Builder plugin to version 3.2.17 or later to apply the partial patch referenced in WordPress Changeset #3172590.
  • Update the Cost Calculator Builder PRO plugin to the latest available version per the Stylemixthemes Changelog Pro Version.
  • Audit all orders created while vulnerable versions were in use and reconcile against expected pricing.

Patch Information

The vendor partially patched this issue in Cost Calculator Builder version 3.2.17. Administrators running the PRO plugin should ensure both the free and PRO components are updated. Verify the fix is applied by confirming the installed plugin version in the WordPress admin dashboard and reviewing the vendor changelog.

Workarounds

  • Disable the Cost Calculator Builder PRO plugin until both the free and PRO components can be updated to patched versions.
  • Configure a web application firewall rule that rejects or flags requests to the create_cc_order endpoint containing a price field, forcing server-side recalculation.
  • Manually review and approve each order created through the calculator before fulfillment or payment capture while the plugin remains in use.

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.