Vulnerability · Published Jun 6, 2024 · Assigned by @huntr_ai
CVE-2024-3408Authentication Bypass and RCE in man-group/dtale
Critical 9.8
In plain English
A critical-severity hard-coded credentials in man-group/dtale from man-group. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 78.0% (higher than 99.6% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | dtale | no fix listed | GHSA-v9q6-fm48-rx74 |
| PyPI | dtale | no fix listed | PYSEC-2024-117 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| man-group | man-group/dtale | unspecified – before 3.13.1 |
Weakness: CWE-798 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H