Advisory

GHSA-vxq2-p937-3px3

Also known as: CVE-2023-45824

Summary

Pinned entity creation form shows wrong data

Details

Impact

Logged in user can access page state data of pinned pages of other users by pageId hash.

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));
     }
 

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-03-25 19:39 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

oro/platform

Packagist · All systems

Affected

  • introduced 5.1.0, fixed 5.1.4 (ecosystem)

Fixed versions

5.1.4

Fix

The export has no generic command for this ecosystem.

oro/platform

Packagist · All systems

Affected

  • introduced 5.0.0, last affected 5.0.12 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

oro/platform

Packagist · All systems

Affected

  • introduced 4.2.0, last affected 4.2.10 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences