[Bug] BruteForce login logic doesn't validate login type #22929
Labels
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
To Triage
An issue awaiting triage by a Matomo core team member
What happened?
Many fatal errors are produced in the logs and brute force blocking is likely not activated when malformed input is send to the reset password endpoint.
The stack trace produced is the following:
With additional content in the post:
A sample of the post data was provided above. I believe it is the dictionary/object structure provided to
form_login
that produces the error.What should happen?
Malformed login details should be validated and trigger the brute force activation instead of producing a fatal error.
How can this be reproduced?
Send requests to the following endpoint with an array for the
form_login
:Matomo version
5.3.0
PHP version
8.2
Server operating system
Linux
What browsers are you seeing the problem on?
Firefox
Computer operating system
No response
Relevant log output
No response
Validations
The text was updated successfully, but these errors were encountered: