CVE-2023-47636: Pimcore/admin ui classic bundle Pimcore/admin-ui-classic-bundle Full Path Disclosure Vulnerability

MODERATE
Advisory Identifier: GHSA-c8hj-w239-5gvf
CVSS 5.3
CWE-209
Published
Advisory Summary

CVE-2023-47636 is a MODERATE (CVSS 5.3) pimcore/admin-ui-classic-bundle full path disclosure vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Pimcore/admin ui classic bundle libraries in the Packagist ecosystem. The issue involves pimcore/admin-ui-classic-bundle full path disclosure via re-export document. Remediation is available by upgrading affected packages to version 1.2.1.

CVE-2023-47636 at a Glance

CVE Identifier CVE-2023-47636
GHSA Identifier GHSA-c8hj-w239-5gvf
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Pimcore/admin ui classic bundle
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.3

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:N).

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 None (A:N)

How to Fix CVE-2023-47636

To remediate this vulnerability, upgrade all affected Pimcore/admin ui classic bundle 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/admin-ui-classic-bundle fixed: 1.2.1
Upgrade pimcore/admin-ui-classic-bundle to 1.2.1
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/admin-ui-classic-bundle

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-47636, inspect your project dependencies for Pimcore/admin ui classic bundle:

inspect dependencies for pimcore/admin-ui-classic-bundle

Analyze the terminal output to locate any version of Pimcore/admin ui classic bundle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.1), 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-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Pimcore/admin ui classic bundle, 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

### Impact Full Path Disclosure (FPD) vulnerabilities enable the attacker to see the path to the webroot/file. e.g.: /home/omg/htdocs/file/. Certain vulnerabilities, such as using the load_file() (within a SQL Injection) query to view the page source, require the attacker to have the full path to the file they wish to view. In the case of pimcore, the fopen() function here doesn't have an error handle when the file doesn't exist on the server so the server response raises the full path "fopen(/var/www/html/var/tmp/export-{ uniqe id}.csv)" ### Patches Apply patch https://github.com/pimcore/admin-ui-classic-bundle/commit/10d178ef771097604a256c1192b098af9ec57a87.patch ### Workarounds Update to version 1.2.1 or apply [patches](https://github.com/pimcore/admin-ui-classic-bundle/commit/10d178ef771097604a256c1192b098af9ec57a87.patch) manually ### References https://huntr.com/bounties/4af4db18-9fd4-43e9-8bc6-c88aaf76839c/

CVE-2023-47636 Affected Pimcore/admin ui classic bundle Versions

1 component(s)
Fixed Versions:
1.2.1
Product / Package Ecosystem Affected Versions Fixed Version
pimcore/admin-ui-classic-bundle
Packagist
< 1.2.1
1.2.1

References

Frequently Asked Questions

What is CVE-2023-47636?
CVE-2023-47636 is a security vulnerability in Pimcore/admin ui classic bundle involving pimcore/admin-ui-classic-bundle Full Path Disclosure via re-export document under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Pimcore/admin ui classic bundle versions are affected?
Affected versions include releases prior to 1.2.1 across affected packages: pimcore/admin-ui-classic-bundle.
What version fixes CVE-2023-47636?
Upgrading to 1.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pimcore/admin-ui-classic-bundle affected?
Yes, pimcore/admin-ui-classic-bundle is affected in releases prior to 1.2.1. Upgrade your dependency to 1.2.1 or later.
What is the CVSS score of CVE-2023-47636?
CVE-2023-47636 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-47636?
CVE-2023-47636 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check Packagist dependencies for CVE-2023-47636?
Run the dependency tree command: 'inspect dependencies for pimcore/admin-ui-classic-bundle'. 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-c8hj-w239-5gvf",
  "modified" : "2023-11-15T23:22:45Z",
  "published" : "2023-11-15T14:49:41Z",
  "aliases" : [ "CVE-2023-47636" ],
  "summary" : "pimcore/admin-ui-classic-bundle Full Path Disclosure via re-export document",
  "details" : "### Impact\nFull Path Disclosure (FPD) vulnerabilities enable the attacker to see the path to the webroot/file. e.g.: /home/omg/htdocs/file/. Certain vulnerabilities, such as using the load_file() (within a SQL Injection) query to view the page source, require the attacker to have the full path to the file they wish to view.\n\nIn the case of pimcore, the fopen() function here doesn't have an error handle when the file doesn't exist on the server so the server response raises the full path \"fopen(/var/www/html/var/tmp/export-{ uniqe id}.csv)\"\n\n### Patches\nApply patch https://github.com/pimcore/admin-ui-classic-bundle/commit/10d178ef771097604a256c1192b098af9ec57a87.patch\n\n### Workarounds\nUpdate to version 1.2.1 or apply [patches](https://github.com/pimcore/admin-ui-classic-bundle/commit/10d178ef771097604a256c1192b098af9ec57a87.patch) manually\n\n### References\nhttps://huntr.com/bounties/4af4db18-9fd4-43e9-8bc6-c88aaf76839c/",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pimcore/admin-ui-classic-bundle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/admin-ui-classic-bundle/security/advisories/GHSA-c8hj-w239-5gvf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-47636"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/admin-ui-classic-bundle/commit/10d178ef771097604a256c1192b098af9ec57a87"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pimcore/admin-ui-classic-bundle"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/4af4db18-9fd4-43e9-8bc6-c88aaf76839c"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-209" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-15T14:49:41Z",
    "nvd_published_at" : "2023-11-15T20:15:07Z"
  }
}