ADVISORIES

GitHub Advisory Database

GHSA-hg77-vx9v-f49x

Path Traversal in Asset "import from server" option

Moderate CVE-2023-2336

Details

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/

Affected packages

EcosystemPackageAffected versions
Packagistpimcore/pimcore
All versions before 10.5.21 (fixed in 10.5.21)

References