CVE-2023-45824: Oro/platform Pinned Entity Creation Form Shows Vulnerability

MODERATE
Advisory Identifier: GHSA-vxq2-p937-3px3
CVSS 4.3
CWE-200
Published
Advisory Summary

CVE-2023-45824 is a MODERATE (CVSS 4.3) pinned entity creation form shows vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Oro/platform libraries in the Packagist ecosystem. The issue involves pinned entity creation form shows wrong data. Remediation is available by upgrading affected packages to version 5.1.4.

CVE-2023-45824 at a Glance

CVE Identifier CVE-2023-45824
GHSA Identifier GHSA-vxq2-p937-3px3
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Oro/platform
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
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-45824

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

oro/platform fixed: 5.1.4
Upgrade oro/platform to 5.1.4
oro/platform fixed: Latest secure release
Upgrade oro/platform to Latest secure release
oro/platform fixed: Latest secure release
Upgrade oro/platform to Latest secure release
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 oro/platform

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-45824, inspect your project dependencies for Oro/platform:

inspect dependencies for oro/platform

Analyze the terminal output to locate any version of Oro/platform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.1.4), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Oro/platform, 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 Logged in user can access page state data of pinned pages of other users by pageId hash. ### Patch ```patch --- src/Oro/Bundle/NavigationBundle/Controller/Api/PagestateController.php +++ src/Oro/Bundle/NavigationBundle/Controller/Api/PagestateController.php @@ -158,6 +158,13 @@ AbstractPageState::generateHash($this->get('request_stack')->getCurrentRequest()->get('pageId')) ); + if ($entity) { + $entity = $this->getEntity($entity->getId()); + } + if (!$entity) { + return $this->handleNotFound(); + } + return $this->handleView($this->view($this->getState($entity), Response::HTTP_OK)); } ```

CVE-2023-45824 Affected Oro/platform Versions

3 component(s)
Fixed Versions:
5.1.4
Product / Package Ecosystem Affected Versions Fixed Version
oro/platform
Packagist
≥ 5.1.0
< 5.1.4
5.1.4
oro/platform
Packagist
≥ 5.0.0
≤ 5.0.12
oro/platform
Packagist
≥ 4.2.0
≤ 4.2.10

References

Frequently Asked Questions

What is CVE-2023-45824?
CVE-2023-45824 is a security vulnerability in Oro/platform involving Pinned entity creation form shows wrong data under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Oro/platform versions are affected?
Affected versions include releases prior to 5.1.4 across affected packages: oro/platform.
What version fixes CVE-2023-45824?
Upgrading to 5.1.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is oro/platform affected?
Yes, oro/platform is affected in releases prior to 5.1.4, Latest secure release. Upgrade your dependency to 5.1.4, Latest secure release or later.
What is the CVSS score of CVE-2023-45824?
CVE-2023-45824 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2023-45824?
CVE-2023-45824 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for CVE-2023-45824?
Run the dependency tree command: 'inspect dependencies for oro/platform'. 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-vxq2-p937-3px3",
  "modified" : "2024-03-25T22:25:03Z",
  "published" : "2024-03-25T19:39:21Z",
  "aliases" : [ "CVE-2023-45824" ],
  "summary" : "Pinned entity creation form shows wrong data",
  "details" : "### Impact\n\nLogged in user can access page state data of pinned pages of other users by pageId hash.\n\n\n### Patch\n\n```patch\n--- src/Oro/Bundle/NavigationBundle/Controller/Api/PagestateController.php\n+++ src/Oro/Bundle/NavigationBundle/Controller/Api/PagestateController.php\n@@ -158,6 +158,13 @@\n             AbstractPageState::generateHash($this->get('request_stack')->getCurrentRequest()->get('pageId'))\n         );\n \n+        if ($entity) {\n+            $entity = $this->getEntity($entity->getId());\n+        }\n+        if (!$entity) {\n+            return $this->handleNotFound();\n+        }\n+\n         return $this->handleView($this->view($this->getState($entity), Response::HTTP_OK));\n     }\n \n```",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "oro/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.1.0"
      }, {
        "fixed" : "5.1.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.1.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "oro/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "last_affected" : "5.0.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "oro/platform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "last_affected" : "4.2.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/oroinc/platform/security/advisories/GHSA-vxq2-p937-3px3"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-45824"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/oroinc/platform/commit/cf94df7595afca052796e26b299d2ce031e289cd"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/oroinc/platform"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-25T19:39:21Z",
    "nvd_published_at" : "2024-03-25T19:15:57Z"
  }
}