GHSA-v9q6-fm48-rx74
Authentication bypass in dtale
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
man-group/dtale version 3.10.0 is vulnerable to an authentication bypass and remote code execution (RCE) due to improper input validation. The vulnerability arises from a hardcoded `SECRET_KEY` in the flask configuration, allowing attackers to forge a session cookie if authentication is enabled. Additionally, the application fails to properly restrict custom filter queries, enabling attackers to execute arbitrary code on the server by bypassing the restriction on the `/update-settings` endpoint, even when `enable_custom_filters` is not enabled. This vulnerability allows attackers to bypass authentication mechanisms and execute remote code on the server.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-3408
- https://github.com/man-group/dtale/commit/32bd6fb4a63de779ff1e51823a456865ea3cbd13
- https://github.com/man-group/dtale
- https://github.com/pypa/advisory-database/tree/main/vulns/dtale/PYSEC-2024-117.yaml
- https://huntr.com/bounties/57a06666-ff85-4577-af19-f3dfb7b02f91