GitHub Advisoryadvisory · PyPI
GHSA-v9q6-fm48-rx74 Authentication bypass in dtale
HIGH
Official page ↗
- Aliases
- CVE-2024-3408
- Ecosystem
- PyPI
- Packages
- dtale
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20, CWE-798
- Reviewed
- 2024-06-06
Affected packages
• PyPI dtale: <= 3.10.0 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2024-3408 man-group/dtale version 3.10.0 is vulnerable to an authentication bypass and remote code execution (RCE) due to improper input validation. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-3408 advisory
- https://github.com/man-group/dtale/commit/32bd6fb4a63de779ff1e51823a456865ea3cbd13 web
- https://github.com/man-group/dtale package
- https://github.com/pypa/advisory-database/tree/main/vulns/dtale/PYSEC-2024-117.yaml web
- https://huntr.com/bounties/57a06666-ff85-4577-af19-f3dfb7b02f91 web