You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My forum was "attacked" by bot, which send a bunch of requests searching for SQLi, path traversal and similar vulnerabilities. While it does not seems to achieve anything, it generated a bunch of errors, including SQL errors and PHP fatal errors.
I also got multiple POST requests to /login endpoint, which resulted fatal errors, but I don't know how to reproduce it, since Flarum does not log POST data:
flarum.ERROR: Laminas\Diactoros\Exception\InvalidArgumentException: Laminas\Diactoros\ServerRequest::withParsedBody expects a null, array, or object argument; received string in vendor/laminas/laminas-diactoros/src/ServerRequest.php:17
Expected Behavior
No exceptions or fatal errors. Engine should validate requests and return 400 Bad Request response if request is invalid.
Current Behavior
My forum was "attacked" by bot, which send a bunch of requests searching for SQLi, path traversal and similar vulnerabilities. While it does not seems to achieve anything, it generated a bunch of errors, including SQL errors and PHP fatal errors.
Steps to Reproduce
Try any of these URLs:
I also got multiple POST requests to
/login
endpoint, which resulted fatal errors, but I don't know how to reproduce it, since Flarum does not log POST data:Expected Behavior
No exceptions or fatal errors. Engine should validate requests and return 400 Bad Request response if request is invalid.
Screenshots
No response
Environment
Output of
php flarum info
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: