Flask-AppBuilder Has No Rate Limiting on Login AUTH DB
High severity
GitHub Reviewed
Published
Apr 10, 2023
in
dpgaspar/Flask-AppBuilder
•
Updated Apr 19, 2023
Description
Published to the GitHub Advisory Database
Apr 10, 2023
Reviewed
Apr 10, 2023
Published by the National Vulnerability Database
Apr 10, 2023
Last updated
Apr 19, 2023
Impact
Lack of rate limiting will allow an attacker to brute-force user credentials.
Patches
Ability to enable rate limiting on Flask-AppBuilder >= 4.3.0. Use
AUTH_RATE_LIMITED = True
andRATELIMIT_ENABLED = True
set the limit itself by usingAUTH_RATE_LIMIT
. Will apply only to database authentication.Workarounds
Implement rate limiting using a reverse proxy or other strategies.
References