{"id":"CVE-2023-30855","published":"2023-05-08T17:59:14Z","modified":"2025-01-29T15:07:36Z","title":"Pimcore Path Traversal Vulnerability in AdminBundle/Controller/Reports/CustomReportController.php","vendor":"pimcore","product":"pimcore","tier":"tail","description":{"text":"Pimcore is an open source data and experience management platform. Versions of Pimcore prior to 10.5.18 are vulnerable to path traversal. The impact of this path traversal and arbitrary extension is limited to creation of arbitrary files and appending data to existing files. When combined with the SQL Injection, the exported data `RESTRICTED DIFFUSION 9 / 9` can be controlled and a webshell can be uploaded. Attackers can use that to execute arbitrary PHP code on the server with the permissions of the webserver. Users may upgrade to version 10.5.18 to receive a patch or, as a workaround, apply the patch manually.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00795,"percentile":0.5734,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/pimcore/pimcore/security/advisories/GHSA-g2mc-fqqc-hxg3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pimcore/pimcore/pull/14498","tags":["x_refsource_MISC"]},{"url":"https://github.com/pimcore/pimcore/commit/f1d904094700b513c4756904fa2b1e19d08d890e.patch","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":11.47},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"pimcore","affectedVersions":[{"vendor":"pimcore","product":"pimcore","versions":["< 10.5.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-29T15:07:33.736554Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"pimcore/pimcore","vulnerableRanges":["<10.5.18"],"patched":["10.5.18"],"from":["GHSA-g2mc-fqqc-hxg3"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in Pimcore, in the AdminBundle controller AdminBundle/Controller/Reports/CustomReportController.php, affects versions prior to 10.5.18. An attacker with low-privileged authenticated network access can, by chaining it with a SQL injection, create arbitrary files and append data to existing ones, potentially including uploading a webshell to execute PHP code on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:34Z"},"euvd":{"id":"EUVD-2023-1534","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pimcore-pimcore-cve-2021-23340","parents":[{"from":"CVE-2021-23340","to":"CVE-2023-30855","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["bundles/AdminBundle/Controller/Reports/CustomReportController.php"],"commits":["https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442","https://github.com/pimcore/pimcore/commit/f1d904094700b513c4756904fa2b1e19d08d890e","https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f"],"basis":"shared function","functions":["createCsvAction","downloadCsvAction"]}]},{"from":"CVE-2021-4139","to":"CVE-2023-30855","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php","bundles/AdminBundle/Resources/public/js/pimcore/object/classificationstore/collectionsPanel.js","bundles/AdminBundle/Resources/public/js/pimcore/object/classificationstore/groupsPanel.js","bundles/AdminBundle/Resources/public/js/pimcore/object/classificationstore/propertiesPanel.js"],"commits":["https://github.com/pimcore/pimcore/commit/d5c3e876d910784000335061c3bd24d301351245","https://github.com/pimcore/pimcore/commit/f1d904094700b513c4756904fa2b1e19d08d890e","https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f"],"basis":"shared function","functions":["create"]}]}],"children":[{"from":"CVE-2023-30855","to":"CVE-2023-2614","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["bundles/AdminBundle/Controller/Reports/CustomReportController.php"],"commits":["https://github.com/pimcore/pimcore/commit/c36ef54ce33f7b5e74b7b0ab9eabfed47c018fc7","https://github.com/pimcore/pimcore/commit/f1d904094700b513c4756904fa2b1e19d08d890e","https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f"],"basis":"shared function","functions":["downloadCsvAction"]}]},{"from":"CVE-2023-30855","to":"CVE-2023-2616","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php","bundles/AdminBundle/Resources/public/js/pimcore/helpers.js","lib/Security/SecurityHelper.php"],"commits":["https://github.com/pimcore/pimcore/commit/07a2c95be524c7e20105cef58c5767d4ebb06091","https://github.com/pimcore/pimcore/commit/f1d904094700b513c4756904fa2b1e19d08d890e","https://github.com/pimcore/pimcore/commit/7f788fa44bc18bc1c9182c25e26b770a1d30b62f"],"basis":"shared function","functions":["createGroupAction","createStoreAction","deleteGroupAction"]}]}]}}