PYSEC-2024-117

Vulnerability from pysec - Published: 2024-06-06 19:16 - Updated: 2026-06-10 16:51
VLAI
Details

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.

Impacted products
Name purl
dtale pkg:pypi/dtale

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "dtale",
        "purl": "pkg:pypi/dtale"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "32bd6fb4a63de779ff1e51823a456865ea3cbd13"
            }
          ],
          "repo": "https://github.com/man-group/dtale",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.0.0",
        "1.1.1",
        "1.10.0",
        "1.11.0",
        "1.12.1",
        "1.13.0",
        "1.14.1",
        "1.15.2",
        "1.16.0",
        "1.17.0",
        "1.18.2",
        "1.19.2",
        "1.2.0",
        "1.20.0",
        "1.21.1",
        "1.22.0",
        "1.22.1",
        "1.23.0",
        "1.24.0",
        "1.25.0",
        "1.26.0",
        "1.27.0",
        "1.28.0",
        "1.28.1",
        "1.29.0",
        "1.29.1",
        "1.3.7",
        "1.30.0",
        "1.31.0",
        "1.32.0",
        "1.32.1",
        "1.33.0",
        "1.33.1",
        "1.34.0",
        "1.35.0",
        "1.36.0",
        "1.37.0",
        "1.37.1",
        "1.38.0",
        "1.39.0",
        "1.4.1",
        "1.40.0",
        "1.40.1",
        "1.40.2",
        "1.41.0",
        "1.41.1",
        "1.42.0",
        "1.42.1",
        "1.43.0",
        "1.44.0",
        "1.44.1",
        "1.45.0",
        "1.46.0",
        "1.47.0",
        "1.48.0",
        "1.49.0",
        "1.5.1",
        "1.50.0",
        "1.50.1",
        "1.51.0",
        "1.52.0",
        "1.53.0",
        "1.54.0",
        "1.54.1",
        "1.55.0",
        "1.56.0",
        "1.57.0",
        "1.58.1",
        "1.58.2",
        "1.58.3",
        "1.59.0",
        "1.59.1",
        "1.6.1",
        "1.6.10",
        "1.6.2",
        "1.6.3",
        "1.6.4",
        "1.6.5",
        "1.6.6",
        "1.6.7",
        "1.6.8",
        "1.6.9",
        "1.60.1",
        "1.60.2",
        "1.61.0",
        "1.61.1",
        "1.7.0",
        "1.7.1",
        "1.7.10",
        "1.7.11",
        "1.7.12",
        "1.7.13",
        "1.7.14",
        "1.7.15",
        "1.7.2",
        "1.7.3",
        "1.7.4",
        "1.7.5",
        "1.7.6",
        "1.7.7",
        "1.7.8",
        "1.7.9",
        "1.8.0",
        "1.8.1",
        "1.8.10",
        "1.8.11",
        "1.8.12",
        "1.8.13",
        "1.8.14",
        "1.8.15",
        "1.8.16",
        "1.8.17",
        "1.8.18",
        "1.8.19",
        "1.8.3",
        "1.8.4",
        "1.8.6",
        "1.8.7",
        "1.8.8",
        "1.8.9",
        "1.9.0",
        "1.9.1",
        "1.9.2",
        "2.0.0",
        "2.1.0",
        "2.1.2",
        "2.10.0",
        "2.11.0",
        "2.12.0",
        "2.12.1",
        "2.12.2",
        "2.12.3",
        "2.13.0",
        "2.14.0",
        "2.14.1",
        "2.15.0",
        "2.15.2",
        "2.16.0",
        "2.2.0",
        "2.3.0",
        "2.4.0",
        "2.5.1",
        "2.6.0",
        "2.7.1",
        "2.8.0",
        "2.8.1",
        "2.9.0",
        "2.9.1",
        "3.0.0",
        "3.1.0",
        "3.1.6",
        "3.1.7",
        "3.10.0",
        "3.11.0",
        "3.12.0",
        "3.13.0",
        "3.13.1",
        "3.14.0",
        "3.14.1",
        "3.15.0",
        "3.15.1",
        "3.2.0",
        "3.3.0",
        "3.4.0",
        "3.5.0",
        "3.6.0",
        "3.7.0",
        "3.8.0",
        "3.8.1",
        "3.9.0",
        "3.16.0",
        "3.16.1",
        "3.17.0",
        "3.18.0",
        "3.18.1",
        "3.18.2",
        "3.19.0",
        "3.19.1",
        "3.20.0",
        "3.21.0",
        "3.22.0"
      ]
    }
  ],
  "aliases": [
    "CVE-2024-3408",
    "GHSA-v9q6-fm48-rx74"
  ],
  "details": "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.",
  "id": "PYSEC-2024-117",
  "modified": "2026-06-10T16:51:22.366587Z",
  "published": "2024-06-06T19:16:00Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://huntr.com/bounties/57a06666-ff85-4577-af19-f3dfb7b02f91"
    },
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/57a06666-ff85-4577-af19-f3dfb7b02f91"
    },
    {
      "type": "FIX",
      "url": "https://github.com/man-group/dtale/commit/32bd6fb4a63de779ff1e51823a456865ea3cbd13"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-v9q6-fm48-rx74"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.