Vulnerability
CVE-2023-27524
Apache Superset: Session validation vulnerability when using provided default SECRET_KEY
Vulnerability details
- Score
- 8.9
- Severity
- high
CVSS 3.1 · apache
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:LDescription
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.
CVE ProgramExploit source choices
19 sourcesApache Superset versions <= 2.0.0 utilize Flask with a known default secret key which is used to sign HTTP cookies. These cookies can therefore be forged. If a user is able to login to the site, they can decode the cookie, set their user_id to that of an administrator, and re-sign the cookie. This valid cookie can then be used to login as the targeted user. From there the Superset database is mounted, and credentials are pulled. A dashboard is then created. Lastly a pickled python payload can be set for that dashboard within Superset's database which will trigger the RCE. An attempt to clean up ALL of the dashboard key values and reset them to their previous values happens during the cleanup phase.
Basic PoC for CVE-2023-27524: Insecure Default Configuration in Apache Superset
jakabakos/cve-2023-27524-apache-superset-auth-bypass-and-rce source repository
漏洞收集
Apahce-Superset身份认证绕过漏洞(CVE-2023-27524)检测工具
Apache Superset Auth Bypass (CVE-2023-27524)
cvedb/awesome-cve-repo source repository
Perform With Apache-SuperSet Leaked Token [CSRF]
Apache Superset Auth Bypass Vulnerability CVE-2023-27524.
Apache Superset - Authentication Bypass
cvedb/top source repository
Oracle WebLogic Server (LFI)
Tool for finding CVE-2023-27524 (Apache Superset - Authentication Bypass)
A POC for the all new CVE-2023-27524 which allows for authentication bypass and gaining access to the admin dashboard.
EventON (Free < 2.2.8, Premium < 4.5.5) - Information Disclosure
Apache Superset 默认SECRET_KEY 漏洞(CVE-2023-27524)
Vulhub superset/CVE-2023-27524: Apache Superset Default SECRET_KEY Session Forgery (CVE-2023-27524), run with Isoloom
Generated personal blog