CVE-2023-5192: Pimcore/demo Pimcore Demo Allows GraphQL Introspection Vulnerability

MODERATE
Advisory Identifier: GHSA-p76j-h4m8-hx5c
CVSS 6.5
CWE-1049 CWE-200
Published
Advisory Summary

CVE-2023-5192 is a MODERATE (CVSS 6.5) pimcore demo allows graphql introspection vulnerability (CWE-1049: Excessive Data Query Operations in a Large Data Table) affecting Pimcore/demo libraries in the Packagist ecosystem. The issue involves pimcore demo allows graphql introspection. Remediation is available by upgrading affected packages to version 10.3.0.

CVE-2023-5192 at a Glance

CVE Identifier CVE-2023-5192
GHSA Identifier GHSA-p76j-h4m8-hx5c
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-1049: Excessive Data Query Operations in a Large Data Table
Affected Product Pimcore/demo
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2023-5192

To remediate this vulnerability, upgrade all affected Pimcore/demo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

pimcore/demo fixed: 10.3.0
Upgrade pimcore/demo to 10.3.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for pimcore/demo

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-5192, inspect your project dependencies for Pimcore/demo:

inspect dependencies for pimcore/demo

Analyze the terminal output to locate any version of Pimcore/demo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.3.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1049: Excessive Data Query Operations in a Large Data Table, where the product performs a data query with a large number of joins and sub-queries on a large data table. In Pimcore/demo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Introspection is enabled on `demo.pimcore.fun`. The demo site has graphql as a feature for users, but allows users to run instropection queries, which presents a potential schema information disclosure vulnerability.

CVE-2023-5192 Affected Pimcore/demo Versions

1 component(s)
Fixed Versions:
10.3.0
Product / Package Ecosystem Affected Versions Fixed Version
pimcore/demo
Packagist
< 10.3.0
10.3.0

References

Frequently Asked Questions

What is CVE-2023-5192?
CVE-2023-5192 is a security vulnerability in Pimcore/demo involving Pimcore Demo Allows GraphQL Introspection under CWE-1049: Excessive Data Query Operations in a Large Data Table.
Which Pimcore/demo versions are affected?
Affected versions include releases prior to 10.3.0 across affected packages: pimcore/demo.
What version fixes CVE-2023-5192?
Upgrading to 10.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pimcore/demo affected?
Yes, pimcore/demo is affected in releases prior to 10.3.0. Upgrade your dependency to 10.3.0 or later.
What is the CVSS score of CVE-2023-5192?
CVE-2023-5192 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
What CWE is associated with CVE-2023-5192?
CVE-2023-5192 is classified under CWE-1049: Excessive Data Query Operations in a Large Data Table (The product performs a data query with a large number of joins and sub-queries on a large data table.).
How can I check Packagist dependencies for CVE-2023-5192?
Run the dependency tree command: 'inspect dependencies for pimcore/demo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p76j-h4m8-hx5c",
  "modified" : "2023-09-29T20:14:00Z",
  "published" : "2023-09-27T15:30:40Z",
  "aliases" : [ "CVE-2023-5192" ],
  "summary" : "Pimcore Demo Allows GraphQL Introspection",
  "details" : "Introspection is enabled on `demo.pimcore.fun`. The demo site has graphql as a feature for users, but allows users to run instropection queries, which presents a potential schema information disclosure vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pimcore/demo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.3.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-5192"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/demo/pull/437"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/demo/commit/a2a7ff3b565882aefb759804aac4a51afb458f1f"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pimcore/demo"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/65c954f2-79c3-4672-8846-a3035e7a1db7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1049", "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-27T20:24:29Z",
    "nvd_published_at" : "2023-09-27T15:19:42Z"
  }
}