PYSEC-2024-313

Vulnerability from pysec - Published: 2024-11-18 15:15 - Updated: 2026-06-16 14:17
VLAI
Details

OpenCTI is an open source platform allowing organizations to manage their cyber threat intelligence knowledge and observables. Prior to version 6.1.9, the regex validation used to prevent Introspection queries can be bypassed by removing the extra whitespace, carriage return, and line feed characters from the query. GraphQL Queries in OpenCTI can be validated using the secureIntrospectionPlugin. The regex check in the plkugin can be bypassed by removing the carriage return and line feed characters (\r\n). Running a curl command against a local instance of OpenCTI will result in a limited error message. By running the same Introspection query without the \r\n characters, the unauthenticated user is able to successfully run a full Introspection query. Bypassing this restriction allows the attacker to gather a wealth of information about the GraphQL endpoint functionality that can be used to perform actions and/or read data without authorization. These queries can also be weaponized to conduct a Denial of Service (DoS) attack if sent repeatedly. Users should upgrade to version 6.1.9 to receive a patch for the issue.

Impacted products
Name purl
pycti pkg:pypi/pycti

{
  "affected": [
    {
      "ecosystem_specific": {},
      "package": {
        "ecosystem": "PyPI",
        "name": "pycti",
        "purl": "pkg:pypi/pycti"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.1.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.1",
        "1.2.11",
        "1.2.12",
        "1.2.13",
        "1.2.14",
        "1.2.15",
        "1.2.2",
        "1.2.4",
        "1.2.9",
        "2.0.0",
        "2.0.1",
        "2.0.2",
        "2.0.3",
        "2.1.10",
        "2.1.11",
        "2.1.12",
        "2.1.13",
        "2.1.3",
        "2.1.4",
        "2.1.5",
        "2.1.6",
        "2.1.7",
        "2.1.8",
        "2.1.9",
        "3.0.0",
        "3.0.1",
        "3.0.2",
        "3.0.3",
        "3.1.0",
        "3.1.1",
        "3.1.2",
        "3.2.0",
        "3.2.1",
        "3.2.2",
        "3.2.3",
        "3.2.4",
        "3.2.5",
        "3.2.6",
        "3.2.7",
        "3.3.0",
        "3.3.1",
        "3.3.2",
        "3.3.3",
        "4.0.0",
        "4.0.1",
        "4.0.2",
        "4.0.3",
        "4.0.4",
        "4.0.5",
        "4.0.6",
        "4.0.7",
        "4.1.0",
        "4.1.1",
        "4.1.2",
        "4.2.1",
        "4.2.2",
        "4.2.3",
        "4.2.4",
        "4.3.0",
        "4.3.1",
        "4.3.2",
        "4.3.3",
        "4.3.4",
        "4.3.5",
        "4.4.0",
        "4.4.1",
        "4.4.2",
        "4.4.3",
        "4.5.0",
        "4.5.1",
        "4.5.2",
        "4.5.3",
        "4.5.4",
        "4.5.5",
        "5.0.0",
        "5.0.1",
        "5.0.2",
        "5.0.3",
        "5.1.0",
        "5.1.1",
        "5.1.2",
        "5.1.3",
        "5.1.4",
        "5.10.0",
        "5.10.1",
        "5.10.2",
        "5.10.3",
        "5.11.0",
        "5.11.1",
        "5.11.10",
        "5.11.11",
        "5.11.12",
        "5.11.13",
        "5.11.14",
        "5.11.2",
        "5.11.3",
        "5.11.4",
        "5.11.5",
        "5.11.6",
        "5.11.7",
        "5.11.8",
        "5.11.9",
        "5.12.0",
        "5.12.1",
        "5.12.10",
        "5.12.11",
        "5.12.12",
        "5.12.13",
        "5.12.14",
        "5.12.15",
        "5.12.16",
        "5.12.17",
        "5.12.18",
        "5.12.19",
        "5.12.2",
        "5.12.20",
        "5.12.21",
        "5.12.22",
        "5.12.23",
        "5.12.24",
        "5.12.25",
        "5.12.26",
        "5.12.27",
        "5.12.28",
        "5.12.29",
        "5.12.3",
        "5.12.30",
        "5.12.31",
        "5.12.32",
        "5.12.33",
        "5.12.4",
        "5.12.5",
        "5.12.6",
        "5.12.7",
        "5.12.8",
        "5.12.9",
        "5.2.0",
        "5.2.1",
        "5.2.2",
        "5.2.3",
        "5.2.4",
        "5.3.0",
        "5.3.1",
        "5.3.10",
        "5.3.11",
        "5.3.12",
        "5.3.13",
        "5.3.14",
        "5.3.15",
        "5.3.16",
        "5.3.17",
        "5.3.2",
        "5.3.3",
        "5.3.4",
        "5.3.5",
        "5.3.6",
        "5.3.7",
        "5.3.8",
        "5.3.9",
        "5.3.post5310",
        "5.3.post5311",
        "5.3.post5312",
        "5.3.post5314",
        "5.3.post5315",
        "5.3.post5316",
        "5.3.post5317",
        "5.3.post5318",
        "5.4.0",
        "5.4.1",
        "5.5.0",
        "5.5.1",
        "5.5.2",
        "5.5.3",
        "5.5.4",
        "5.5.5",
        "5.5.6",
        "5.5.post551",
        "5.5.post552",
        "5.5.post553",
        "5.5.post554",
        "5.5.post555",
        "5.5.post556",
        "5.6.0",
        "5.6.1",
        "5.6.2",
        "5.6.post560",
        "5.6.post561",
        "5.6.post562",
        "5.7.0",
        "5.7.1",
        "5.7.2",
        "5.7.3",
        "5.7.4",
        "5.7.5",
        "5.7.6",
        "5.7.post570",
        "5.7.post571",
        "5.7.post572",
        "5.7.post573",
        "5.7.post574",
        "5.7.post575",
        "5.7.post576",
        "5.8.0",
        "5.8.1",
        "5.8.2",
        "5.8.3",
        "5.8.4",
        "5.8.5",
        "5.8.6",
        "5.8.7",
        "5.9.0",
        "5.9.1",
        "5.9.2",
        "5.9.3",
        "5.9.4",
        "5.9.5",
        "5.9.6",
        "6.0.0",
        "6.0.1",
        "6.0.10",
        "6.0.2",
        "6.0.3",
        "6.0.4",
        "6.0.5",
        "6.0.6",
        "6.0.7",
        "6.0.8",
        "6.0.9",
        "6.1.0",
        "6.1.1",
        "6.1.2",
        "6.1.3",
        "6.1.4",
        "6.1.5",
        "6.1.6",
        "6.1.7",
        "6.1.8"
      ]
    }
  ],
  "aliases": [
    "CVE-2024-37155",
    "GHSA-4mvw-j8r9-xcgc"
  ],
  "details": "OpenCTI is an open source platform allowing organizations to manage their cyber threat intelligence knowledge and observables. Prior to version 6.1.9, the regex validation used to prevent Introspection queries can be bypassed by removing the extra whitespace, carriage return, and line feed characters from the query. GraphQL Queries in OpenCTI can be validated using the `secureIntrospectionPlugin`. The regex check in the plkugin can be bypassed by removing the carriage return and line feed characters (`\\r\\n`).  Running a curl command against a local instance of OpenCTI will result in a limited error message. By running the same Introspection query without the `\\r\\n` characters, the unauthenticated user is able to successfully run a full Introspection query. Bypassing this restriction allows the attacker to gather a wealth of information about the GraphQL endpoint functionality that can be used to perform actions and/or read data without authorization.  These queries can also be weaponized to conduct a Denial of Service (DoS) attack if sent repeatedly. Users should upgrade to version 6.1.9 to receive a patch for the issue.",
  "id": "PYSEC-2024-313",
  "modified": "2026-06-16T14:17:08.022621Z",
  "published": "2024-11-18T15:15:06.210Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/OpenCTI-Platform/opencti/blob/6343b82b0b0a5d3ded3b30d08ce282328a556268/opencti-platform/opencti-graphql/src/graphql/graphql.js#L83-L94"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/OpenCTI-Platform/opencti/security/advisories/GHSA-4mvw-j8r9-xcgc"
    },
    {
      "type": "FIX",
      "url": "https://github.com/OpenCTI-Platform/opencti/commit/f87d96918c63b0c3d3ebfbea6c789d48e2f56ad5"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

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.