Lucene search

K
wpexploitDaniel RufWPEX-ID:5231AC18-EA9A-4BB9-AF9F-E3D95A3B54F1
HistoryAug 22, 2022 - 12:00 a.m.

Login No Captcha reCAPTCHA < 1.7 - IP Check Bypass

2022-08-2200:00:00
Daniel Ruf
434
loginnocaptcha
ip check bypass
recaptcha
http header
attack complexity

EPSS

0.001

Percentile

33.1%

The plugin doesn’t check the proper IP address allowing attackers to spoof IP addresses on the allow list and bypass the need for captcha on the login screen.

Set HTTP_CLIENT_IP, HTTP_X_FORWARDED_FOR or any other header in LoginNoCaptcha::get_ip_address() which is then checked against the whitelist and Google reCaptcha.
The only caveat on this PoC is that attacker must know the list of IP addresses added to the allow list. This can be done by luring administrators to fake pages, but increases the complexity of the attack.

EPSS

0.001

Percentile

33.1%

Related for WPEX-ID:5231AC18-EA9A-4BB9-AF9F-E3D95A3B54F1