Flask-AppBuilder
cpe:2.3:a:flask-appbuilder_project:flask-appbuilder:*:*:*:*:*:*:*
- < 4.6.2
A vulnerability allowing open redirects has been identified in Flask-AppBuilder versions prior to 4.6.2. This issue arises from the application not properly validating the Host header in HTTP requests, which could enable a malicious unauthenticated actor to redirect users to untrusted domains. The vulnerability has been addressed in version 4.6.2 by introducing the FAB_SAFE_REDIRECT_HOSTS configuration variable, allowing administrators to specify which domains are safe for redirection. As a workaround, a reverse proxy can be used to enforce trusted host headers.
Exploitation of this vulnerability allows for open redirect attacks, where users can be sent to malicious websites under the guise of a trusted domain.
To reproduce this vulnerability, send an HTTP request to a Flask-AppBuilder application running a version prior to 4.6.2. Manipulate the Host header to include an untrusted domain. If the application redirects to this domain, the vulnerability is present.
Flask-AppBuilder users should upgrade to version 4.6.2 or later. For those unable to upgrade, using a reverse proxy to enforce trusted host headers is recommended.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.