GitHub Advisoryadvisory · Packagist
GHSA-hg77-vx9v-f49x Path Traversal in Asset "import from server" option
MEDIUM
Official page ↗
- Aliases
- CVE-2023-2336
- Ecosystem
- Packagist
- Packages
- pimcore/pimcore
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2023-04-27
Affected packages
• Packagist pimcore/pimcore: < 10.5.21 → fixed in 10.5.21
Description
Impact
An authenticated attacker can abuse import-server-files with a path traversal to download an arbitrary file from the server
An arbitrary file read vulnerability allows an attacker to read files on the server that they should not have access to, potentially including sensitive files such as configuration files, user data, and credentials. This can result in the exposure of confidential information, which can be used to launch further attacks or compromise the system.
Patches
Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4.patch
Workarounds
Apply patch https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4.patch manually.
References
https://huntr.dev/bounties/af764624-7746-4f53-8480-85348dbb4f14/
Related
Alias · CVE (1)
- CVE-2023-2336 Path Traversal in GitHub repository pimcore/pimcore prior to 10.5.21. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/pimcore/pimcore/security/advisories/GHSA-hg77-vx9v-f49x web
- https://nvd.nist.gov/vuln/detail/CVE-2023-2336 advisory
- https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4 web
- https://github.com/pimcore/pimcore package
- https://huntr.dev/bounties/af764624-7746-4f53-8480-85348dbb4f14 web