CVE-2023-27524
Apache superset missing check for default SECRET_KEY
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by GHSA (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | superset | 2.0.2 |
| pip::GitHub Security Advisory pip | apache-superset | 2.1.0 |
References
- http://www.openwall.com/lists/oss-security/2023/04/24/2
- https://github.com/apache/superset
- https://github.com/apache/superset/commit/b180319bbf08e876ea84963220ebebbfd0699e03
- https://lists.apache.org/thread/n0ftx60sllf527j7g11kmt24wvof8xyk
- https://nvd.nist.gov/vuln/detail/CVE-2023-27524
- https://packetstormsecurity.com/files/172522/Apache-Superset-2.0.0-Authentication-Bypass.html
- https://packetstormsecurity.com/files/175094/Apache-Superset-2.0.0-Remote-Code-Execution.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-27524