Files
CVEs-PoC/2021/CVE-2021-25114.md
2025-09-29 21:09:30 +02:00

20 lines
848 B
Markdown

### [CVE-2021-25114](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25114)
![](https://img.shields.io/static/v1?label=Product&message=Paid%20Memberships%20Pro&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=2.6.7%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-89%20SQL%20Injection&color=brightgreen)
### Description
The Paid Memberships Pro WordPress plugin before 2.6.7 does not escape the discount_code in one of its REST route (available to unauthenticated users) before using it in a SQL statement, leading to a SQL injection
### POC
#### Reference
- https://wpscan.com/vulnerability/6c25a5f0-a137-4ea5-9422-8ae393d7b76b
#### Github
- https://github.com/ARPSyndicate/cve-scores
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/l0928h/kate