.. / CVE-2021-25114

Exploit for WordPress Paid Memberships Pro <2.6.7 - Blind SQL Injection (CVE-2021-25114)

Description:

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.

Nuclei Template

View the template here CVE-2021-25114.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2021/CVE-2021-25114.yaml
Copy

References:

https://nvd.nist.gov/vuln/detail/CVE-2021-25114
https://wordpress.org/plugins/paid-memberships-pro/
https://github.com/ARPSyndicate/kenzer-templates
https://www.paidmembershipspro.com/pmpro-update-2-6-7-security-release/
https://wpscan.com/vulnerability/6c25a5f0-a137-4ea5-9422-8ae393d7b76b