Skip to content

Pinned entity creation form shows wrong data

Moderate severity GitHub Reviewed Published Mar 25, 2024 in oroinc/platform • Updated Mar 25, 2024

Package

composer oro/platform (Composer)

Affected versions

>= 5.1.0, <= 5.1.3
>= 5.0.0, <= 5.0.12
>= 4.2.0, <= 4.2.10

Patched versions

5.1.4

Description

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

References

@dkhrysev dkhrysev published to oroinc/platform Mar 25, 2024
Published by the National Vulnerability Database Mar 25, 2024
Published to the GitHub Advisory Database Mar 25, 2024
Reviewed Mar 25, 2024
Last updated Mar 25, 2024

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Weaknesses

CVE ID

CVE-2023-45824

GHSA ID

GHSA-vxq2-p937-3px3

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.