نسخههای متأثر
Composeroro/platform
- نسخههای متأثر
- >= 5.1.0, <= 5.1.3
- نسخهٔ اصلاحشده
- 5.1.4
Composeroro/platform
- نسخههای متأثر
- >= 5.0.0, <= 5.0.12
- نسخهٔ اصلاحشده
- اعلام نشده
Composeroro/platform
- نسخههای متأثر
- >= 4.2.0, <= 4.2.10
- نسخهٔ اصلاحشده
- اعلام نشده
بهرهبرداری
شرح آسیبپذیری
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));
}

