Information Exposure Through Browser Caching Affecting flask-appbuilder package, versions [,4.5.1)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-FLASKAPPBUILDER-7897224
- published 5 Sep 2024
- disclosed 4 Sep 2024
- credit Unknown
Introduced: 4 Sep 2024
CVE-2024-45314 Open this link in a new tabHow to fix?
Upgrade Flask-AppBuilder
to version 4.5.1 or higher.
Overview
Flask-AppBuilder is a simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.
Affected versions of this package are vulnerable to Information Exposure Through Browser Caching due to the default cache directives of the auth DB login form, allowing sensitive data to be stored locally by the browser. An attacker can access the sensitive data stored locally by exploiting shared computer environments.
Workaround
If upgrading is impossible, you need to configure your web server to send the following HTTP headers for /login
:
"Cache-Control": "no-store, no-cache, must-revalidate, max-age=0"
"Pragma": "no-cache"
"Expires": "0"