Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site running ClearSale Total on PHP 7.x
-
DeliveryCraft POST to admin-ajax.php with action=clearsale_total_push
-
ExploitSupply pagseguro[metodo]=4 AND <SQL payload>
-
InstallBypass nonce check via missing die()
-
C2Bypass switch guard via type juggling
-
ExecuteInject into unquoted UPDATE query
-
ImpactExfiltrate database contents via boolean/time-based inference
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Target must be a WordPress site running the ClearSale Total plugin at version 3.4.2 or earlier with the clearsale_total_push AJAX action registered (default install behavior - it uses wp_ajax_nopriv_ so no login is required). The underlying PHP runtime must be version 7.x or earlier (PHP < 8.0) for the loose-comparison type juggling that bypasses the switch/case integer guard to succeed; on PHP 8.0+ the comparison '4 AND SLEEP(5)' == 4 returns false and the injection sink is unreachable. No user interaction, no authentication, and no non-default plugin configuration are required, but the PHP version gate is a hard prerequisite that meaningfully shrinks the exploitable population. |
| Impact | CVSS 3.1 base score is 7.5 (AV:N/AC:L/PR:N/UI:N) reflecting unauthenticated network exploitation with low complexity, but impact is constrained to confidentiality (C:H/I:N/A:N) - consistent with a read-oriented SQLi used for data exfiltration rather than full database write or RCE pivot. The advisory was published by Wordfence (a credible WordPress threat intel source), but no EPSS score, KEV listing, or public POC was supplied, so likelihood of mass exploitation cannot be quantified from the inputs. A meaningful limiting factor is the PHP < 8.0 prerequisite: PHP 7.4 reached end of life in November 2022, so well-maintained hosts are not affected, but legacy shared hosting and unpatched LAMP stacks remain a realistic target population. Net assessment: a genuine priority for any site still on PHP 7.x running this plugin, but lower urgency on modern PHP 8.x deployments where the type-juggling bypass does not trigger. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted POST to /wp-admin/admin-ajax.php with action=clearsale_total_push and a pagseguro[metodo] value such as '4 AND (SELECT SLEEP(5))' or a UNION-based payload, omitting or supplying any nonce value. Because the nonce-failure die() is commented out and PHP 7.x loose equality matches the string against case 4, the payload reaches the unquoted UPDATE query and exfiltrates wp_users password hashes, session tokens, or other sensitive table contents via boolean/time-based inference. No public exploit identified at time of analysis, but the flaw is trivially scriptable given the public source references. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Unauthenticated SQL injection in the ClearSale Total WordPress plugin (all versions through 3.4.2) allows remote attackers to extract sensitive database contents via the pagseguro[metodo] POST parameter of the clearsale_total_push AJAX action. The flaw is reachable without authentication because the nopriv AJAX handler ships with a commented-out die() in the nonce-failure branch, and on PHP < 8.0 loose type juggling bypasses the switch/case integer guard. No public exploit identified at time of analysis, and the vulnerability is not listed in CISA KEV.
RemediationAI
No vendor-released patch identified at time of analysis - version 3.4.2 (the latest as of this advisory) is still vulnerable, so site operators should deactivate and remove the ClearSale Total plugin until a fixed release is published by the vendor or replace it with an alternative anti-fraud integration. As a compensating control, upgrading the underlying PHP runtime to 8.0 or later neutralizes the type-juggling bypass that reaches the injection sink and is independently recommended (PHP 7.x is end-of-life); note this does not fix the missing die() after nonce failure and would still leave the broken authorization in place if future code paths reach it. Operators who cannot remove the plugin can block POST requests to /wp-admin/admin-ajax.php where action=clearsale_total_push at a WAF/reverse-proxy layer (Wordfence, Cloudflare WAF, ModSecurity), accepting the trade-off that any legitimate plugin functionality using this AJAX endpoint will break. Monitor the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/871f6611-3b5e-4e36-992c-726b31e88c95 for fix availability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ClearSale Total is a WordPress e-commerce anti-fraud plugin that integrates with Brazilian payment gateways such as PagSeguro. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) compounded by two upstream weaknesses: a broken authorization gate (the wp_verify_nonce() failure path lacks a die()/exit, so execution falls through) and reliance on PHP's loose-equality switch statement, where the string '4 AND SLEEP(5)' is coerced to integer 4 and matches case 4. The vulnerable sink is an unquoted UPDATE statement against wp_cs_total_dadosextras that interpolates the attacker-controlled $metodo value directly into the query, enabling stacked-condition injection (boolean/time-based) to exfiltrate data. PHP 8.0 introduced stricter string-to-int comparison semantics (RFC: Saner string to number comparisons), which is why the bug is gated to PHP < 8.0 runtimes.
Know when Clearsale Total gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network unauthenticated, but AC:H because exploitation requires the target to run PHP < 8.0; impact limited to confidentiality via data exfiltration from UPDATE-based SQLi.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The ClearSale Total plugin for WordPress is vulnerable to SQL Injection via the pagseguro[metodo] POST parameter of the clearsale_total_push AJAX action in all versions up to, and including, 3.4.2. The handler is registered for unauthenticated users (wp_ajax_nopriv_clearsale_total_push), and although a wp_verify_nonce() check exists, the failing branch's die() is commented out so execution continues regardless of nonce validity. On PHP < 8.0 the attacker-supplied $metodo value bypasses the switch ($metodo) { case 4: ... } guard via loose type juggling (the string "4 AND SLEEP(5)" compares equal to integer 4), reaching an unquoted UPDATE wp_cs_total_dadosextras SET metodo=$metodo, ... 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. Exploitation requires the target server to be running PHP < 8.0.
Articles & Coverage 2
Executive ViewAI
The ClearSale Total WordPress plugin (all versions through 3.4.2) contains an unauthenticated SQL injection vulnerability allowing remote attackers to extract sensitive database contents without authentication. Any organization operating this plugin faces immediate data breach risk, with particular exposure to customer payment and fraud-prevention records. No vendor patch is currently available, requiring urgent interim defensive measures.
Until vendor patch is released: (1) Disable plugin if operationally feasible; (2) Deploy WAF rules to block SQL injection patterns in pagseguro[metodo] parameter; (3) Implement database query monitoring and alerts for unusual activity; (4) Apply least-privilege database access controls; (5) Monitor and block POST requests to clearsale_total_push AJAX action with suspicious parameter encoding; (6) Enable WordPress security logging for AJAX handler access.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-38672
GHSA-58pf-7c32-vjf7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB