← back
CVE-2023-27524

Apache Superset: Session validation vulnerability when using provided default SECRET_KEY

CVSS 8.9 HIGHEPSS 97.4%● KEVCWE-1188
In short

Apache Superset versions up to 2.0.1 allow attackers to forge valid session cookies if the default SECRET_KEY is not changed, enabling unauthorized access to the application. This only affects installations that haven't customized the SECRET_KEY as instructed during setup.

Technical detail

Session validation vulnerability exploitable through forged session cookies when the default SECRET_KEY remains unchanged in Apache Superset ≤2.0.1. An unauthenticated attacker can craft valid session tokens to impersonate users and access unauthorized resources, provided the installation did not alter the default SECRET_KEY configuration. The vulnerability is mitigated by setting a unique, randomly-generated SECRET_KEY in superset_config.py or via the SUPERSET_SECRET_KEY environment variable.

Summary generated and translated by AI from the official description.
Session Validation attacks in Apache Superset versions up to and including 2.0.1. Installations that have not altered the default configured SECRET_KEY according to installation instructions allow for an attacker to authenticate and access unauthorized resources. This does not affect Superset administrators who have changed the default value for SECRET_KEY config. All superset installations should always set a unique secure random SECRET_KEY. Your SECRET_KEY is used to securely sign all session cookies and encrypting sensitive information on the database. Add a strong SECRET_KEY to your `superset_config.py` file like: SECRET_KEY = <YOUR_OWN_RANDOM_GENERATED_SECRET_KEY> Alternatively you can set it with `SUPERSET_SECRET_KEY` environment variable.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →