Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFingerprint target WordPress site running WooCommerce Lottery
-
DeliverySend GET request with time-based SQLi payload in 'orderby' parameter
-
ExploitMeasure HTTP response delay to confirm blind injection
-
ExecutionEnumerate database schema via conditional timing queries
-
PersistExtract wp_users and WooCommerce tables
-
ImpactHarvest credentials and customer PII
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 | The WooCommerce Lottery plugin by WPGenie must be installed and active on a WordPress/WooCommerce site at version 2.2.9 or earlier. The vulnerable surface is the publicly accessible lottery entry list page, which processes 'orderby' and 'order' as unsanitized GET parameters - no authentication, no special plugin configuration, no administrative setup, and no victim user interaction is required, consistent with the CVSS:3.1/PR:N/UI:N vector. Exploitation is limited to database read operations (confidentiality impact only); the available description does not indicate that the injection point enables write access or command execution. Sites where lottery public pages are behind authentication walls, IP restrictions, or WAF rules blocking SQLi patterns in GET parameters are materially less exposed. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N yielding a 7.5 base score accurately reflects the vulnerability's characteristics: unauthenticated, network-accessible, low-complexity exploitation with high confidentiality impact and no integrity or availability impact. The bounded I:N and A:N scores are consistent with a read-only injection point, and no conflicts exist between the CVSS vector and the description. No EPSS score was provided in the input data, and the vulnerability does not appear in the CISA KEV catalog, indicating no confirmed in-the-wild exploitation at time of analysis. Despite the absence of KEV listing, the attack is fully automatable with widely available tooling - sqlmap can enumerate blind injection targets with minimal operator skill - meaning even a mid-sized e-commerce operator in leszno should treat this as urgent if the affected plugin version is active. The WordPress database typically holds hashed user passwords, customer PII, WooCommerce order details, and session tokens, making the potential blast radius of a successful extraction significant. Overall, this is a genuine priority for any site running the affected plugin, not a paper-severity finding inflated by CVSS alone. |
| Exploit ScenarioDerived | An unauthenticated attacker runs an automated scanner that identifies WordPress sites with the WooCommerce Lottery plugin installed via its known URL patterns or asset fingerprints. The attacker passes a crafted payload such as 'orderby=id AND SLEEP(5)--' to the public lottery entry list page and confirms injection by observing a five-second response delay. Using sqlmap or a custom script, the attacker then iterates through the database schema, extracting the wp_users table - including hashed passwords and email addresses - along with WooCommerce order and customer records, all without triggering any authentication challenge. No public exploit code has been identified at time of analysis, but the time-based technique is well-documented and the tooling is freely available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
Time-based SQL injection in the WooCommerce Lottery WordPress plugin by WPGenie - all versions through 2.2.9 - allows unauthenticated remote attackers to extract arbitrary data from the WordPress database by appending malicious payloads to the 'orderby' and 'order' GET parameters on publicly accessible lottery entry list pages. The flaw originates in class-wc-lottery-entry-list-tables.php where sort parameters are passed into SQL ORDER BY clauses without proper escaping or whitelisting. No public exploit code has been identified at time of analysis, but the unauthenticated, low-complexity attack surface makes automated scanning and exploitation with tools like sqlmap straightforward.
RemediationAI
Administrators should immediately check the CodeCanyon changelog (https://codecanyon.net/item/woocommerce-lottery-wordpress-prizes-and-lotteries/15075983) and the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/26a34fd5-bfa2-4675-9451-ea742bd13fa3) for a patched release from WPGenie; no specific fixed version number is confirmed in the available data, so patch availability must be verified directly. If no patch is yet available, deactivating or removing the plugin entirely is the most reliable interim control, eliminating the attack surface without operational side effects beyond the loss of lottery functionality. If deactivation is not feasible, a web application firewall rule targeting time-based SQL injection patterns in the 'orderby' and 'order' GET parameters can reduce exposure, though sophisticated blind injection payloads may evade simplistic pattern-matching; commercial WAF rules from vendors such as Wordfence Premium are more likely to be effective. Restricting public access to the lottery entry list page via IP allowlisting is a further compensating control where operationally acceptable, at the cost of limiting public participation in lotteries.
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
The root cause is CWE-89 (Improper Neutralization of Special Elements Used in an SQL Command). The affected code in class-wc-lottery-entry-list-tables.php at lines 162, 164, 174, and 212 constructs SQL ORDER BY clauses using user-supplied 'orderby' and 'order' GET parameters without adequate escaping or allowlist validation. This is a known pitfall in WordPress plugin development: WordPress's $wpdb->prepare() does not support parameterized identifiers (column names, sort directions), so developers must manually validate these values against an explicit allowlist - a control that is absent here. The exploitation technique is time-based (blind) SQL injection, meaning the attacker cannot read data directly from HTTP responses but instead infers database contents by measuring conditional response delays introduced via SQL functions such as SLEEP() or BENCHMARK(). The CPE cpe:2.3:a:wpgenie:woocommerce_lottery:*:*:*:*:*:*:*:* confirms all published versions through 2.2.9 are in scope.
Know when Woocommerce Lottery 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
Unauthenticated GET parameter injection over network with no interaction required; only confidentiality impact consistent with described read-only database exfiltration.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The WooCommerce Lottery plugin for WordPress is vulnerable to Time-Based SQL Injection via 'orderby' and 'order' GET Parameters in all versions up to, and including, 2.2.9 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.
Executive ViewAI
The WooCommerce Lottery plugin (all versions through 2.2.9) contains an unauthenticated SQL injection vulnerability enabling attackers to extract customer data and sensitive business information directly from WordPress databases without authentication. Any organization running this plugin faces immediate risk of data breach affecting customer privacy and regulatory compliance. Immediate identification and remediation of affected installations is essential.
Disable the WooCommerce Lottery plugin entirely, or if operationally critical, implement Web Application Firewall rules to whitelist only valid sort parameters (ASC, DESC, alphanumeric column names). Restrict database user permissions to deny direct web request access, enable real-time database query monitoring for SQL injection patterns, and require authentication to access publicly exposed lottery entry list pages.
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-66333
GHSA-6795-cv2m-637x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB