SQL injection in Order Listener for WooCommerce (unauthenticated REST route)
Order Listener for WooCommerce (WordPress plugin) versions prior to 3.2.2 fail to properly sanitize and escape an id parameter before incorporating it into a SQL statement. The vulnerable SQL query is reachable via a REST API route that is accessible to unauthenticated users, enabling an attacker to supply crafted input in id to trigger SQL injection.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Unauthenticated SQL injection can allow an attacker to read and/or modify data in the WordPress database depending on the database user privileges available to the WordPress instance. This may expose sensitive information (e.g., user/account data, order/customer data) and can potentially be leveraged to alter site content or application state. In some environments, SQL injection may be chained toward further compromise if database access enables credential extraction or other escalation paths.
If you can’t patch tonight, do this now.
If immediate upgrading is not possible: restrict public access to the affected REST route (e.g., via WAF rules, reverse-proxy ACLs, or application-level access controls), monitor for suspicious requests targeting the plugin’s REST endpoints and anomalous database errors, and ensure the WordPress database user has the least privileges required (to reduce impact of successful injection).
Patch, then assume compromise.
Upgrade the Order Listener for WooCommerce WordPress plugin to version 3.2.2 or later, which addresses the issue by properly sanitizing/escaping the id parameter (and/or using prepared statements) before use in SQL.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.