CVE-2024-3408
Authentication bypass in dtale
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | dtale | no fix listed |
References
- https://github.com/man-group/dtale
- https://github.com/man-group/dtale/commit/32bd6fb4a63de779ff1e51823a456865ea3cbd13
- https://github.com/pypa/advisory-database/tree/main/vulns/dtale/PYSEC-2024-117.yaml
- https://huntr.com/bounties/57a06666-ff85-4577-af19-f3dfb7b02f91
- https://nvd.nist.gov/vuln/detail/CVE-2024-3408