CVE-2024-3408 Authentication Bypass and RCE in man-group/dtale

Critical 9.8 Published Updated

Attackers can bypass authentication and execute arbitrary code on dtale servers due to hardcoded secrets and improper input validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-3408?

CVE-2024-3408 is a critical authentication bypass vulnerability in man-group/dtale, published on 6 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-94, CWE-798

Which versions are affected by CVE-2024-3408?

3 open source packages ship an affected version, including dtale. It affects 1 product.

PackageAffectedFixed in
dtale PyPIAll versionsNone
dtale PyPIAll versions to 3.10.0None
dtale PyPIAll versions to 3.10.0None

Products include Man D-Tale.

How do I fix CVE-2024-3408?

No fix has been published for CVE-2024-3408 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-3408 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-3408 exists.

Public exploit code: 1 Metasploit module, 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-v9q6-fm48-rx74, PYSEC-2024-117.

Is CVE-2024-3408 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free