Jens Johansson
Basic Pleskian
Username:
TITLE
fail2ban: plesk-wordpress jail is to restrictive
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian 18.0.61.5,
CloudLinux 8.9
PROBLEM DESCRIPTION
The fail2ban plesk-wordpress jail catches in an edge case a legitimate login and bans the IP. This happens, when there is a wordpress interim login (wp-login.php?interim-login=1).
STEPS TO REPRODUCE
Let's say you edit a wordpress page and get logged out while doing so, because the session time is short. In this case, wordpress shows a window to re-login. If you log back in, a POST request is sent to "example.com/wp-login.php?interim-login=1". Fail2ban bans that as a malicious login.
ACTUAL RESULT
The IP of the user, who is re-logging in, is banned.
EXPECTED RESULT
There should be no ban for wordpress interim login.
ANY ADDITIONAL INFORMATION
Therefore I suggest adding the following to the ignoreregex by default:
ignoreregex = \/wp-login\.php\?interim-login=1
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
fail2ban: plesk-wordpress jail is to restrictive
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk Obsidian 18.0.61.5,
CloudLinux 8.9
PROBLEM DESCRIPTION
The fail2ban plesk-wordpress jail catches in an edge case a legitimate login and bans the IP. This happens, when there is a wordpress interim login (wp-login.php?interim-login=1).
STEPS TO REPRODUCE
Let's say you edit a wordpress page and get logged out while doing so, because the session time is short. In this case, wordpress shows a window to re-login. If you log back in, a POST request is sent to "example.com/wp-login.php?interim-login=1". Fail2ban bans that as a malicious login.
ACTUAL RESULT
The IP of the user, who is re-logging in, is banned.
EXPECTED RESULT
There should be no ban for wordpress interim login.
ANY ADDITIONAL INFORMATION
Therefore I suggest adding the following to the ignoreregex by default:
ignoreregex = \/wp-login\.php\?interim-login=1
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug