Open-source package vulnerability · Composer (PHP)
CVE-2023-45824: Pinned entity creation form shows wrong data
mediumCVSS 3.1 4.3GHSA-vxq2-p937-3px3
Impact Logged in user can access page state data of pinned pages of other users by pageId hash. Patch
Published Mar 25, 2024
Affected packages
oro/platform
- Ecosystem
- Composer (PHP)
- Affected
- >= 5.1.0, <= 5.1.3
- Fixed in
- 5.1.4
- Check
composer show oro/platform
oro/platform
- Ecosystem
- Composer (PHP)
- Affected
- >= 5.0.0, <= 5.0.12
- Fixed in
- No patched version yet
- Check
composer show oro/platform
oro/platform
- Ecosystem
- Composer (PHP)
- Affected
- >= 4.2.0, <= 4.2.10
- Fixed in
- No patched version yet
- Check
composer show oro/platform
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
