SQL Injection in Paid Memberships Pro REST Route
Paid Memberships Pro for WordPress versions before 2.6.7 fail to escape the discount_code parameter in an unauthenticated REST route before incorporating it into a SQL statement. An attacker can supply SQL-injection payloads through this parameter.
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.
Successful exploitation permits SQL injection against the application's database through the affected unauthenticated REST endpoint. The available information does not specify the resulting database access level, data exposure, modification capabilities, or availability impact.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the vulnerable REST API endpoint, disable the plugin, or implement a web application firewall (WAF) rule to block malicious SQL injection attempts targeting the 'discount_code' parameter.
Patch, then assume compromise.
Upgrade Paid Memberships Pro to version 2.6.7 or a later release.
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.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.