Description
WordPress Plugin Paid Memberships Pro-Restrict Member Access to Content, Courses, Communities-Free or Paid Subscriptions is prone to an SQL injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. WordPress Plugin Paid Memberships Pro-Restrict Member Access to Content, Courses, Communities-Free or Paid Subscriptions version 2.6.6 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 2.6.7 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:6C25A5F0-A137-4EA5-9422-8AE393D7B76B
https://plugins.svn.wordpress.org/paid-memberships-pro/trunk/readme.txt
Related Vulnerabilities
Ruby Numeric Errors Vulnerability (CVE-2008-2376)
Oracle Database Server CVE-2013-5853 Vulnerability (CVE-2013-5853)
Elgg URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2019-11016)
Apache Traffic Server Improper Input Validation Vulnerability (CVE-2022-25763)
WordPress Plugin Dialog Contact Form Cross-Site Scripting (1.2.0)