Hi,
I’ve a strange problem on a web app with auth basic login and Chrome (it seems the problem does not happen with Firefox).
The steps are:
- a user opens multiple tabs on the same application and he logs in correctly
- the session expires and the user closes Chrome
- the user restarts Chrome (and it restores all the previous tabs)
- the user wrongs password on the auth basic login in a tab
On Apache error.log I can see several rows like this one:
Tue Aug 16 15:30:18.589649 2022] [auth_basic:error] [pid 3810045:tid 140349557122816] [client IP_ADDRESS:34372] AH01617: user MYUSERNAME: authentication failure for "/": Password Mismatch
and also like this
Tue Aug 16 15:30:18.589649 2022] [auth_basic:error] [pid 3810045:tid 140349557122816] [client IP_ADDRESS:34372] AH01617: user MYUSERNAME: authentication failure for "/MYPATH": Password Mismatch, referer: https://MYWEBAPP.MYDOMAIN./ANOTHER_PATH
and a ban happens so with just one wrong login the user got banned.
I can’t understand how to fix it, the unique idea is to increase the capacity of crowdsecurity/http-generic-bf
scenario but when i try the command sudo cscli hub list
it returns me that both the crowdsecurity/http-generic-bf
scenario and the crowdsecurity/base-http-scenarios
collection are tainted.
How can I resolve this?
Many thanks.