Skip to content
Path traversal Disclosed report Intermediate CVE-2023-2336

Path Traversal in Asset "import from server" option

The asset import from server feature in Pimcore is vulnerable to path traversal, allowing an authenticated attacker to read arbitrary files on the server. This could expose sensitive configuration files, user data, and credentials.

pimcore/pimcore

Originally disclosed on huntr

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/

From the GitHub Advisory Database (GHSA-hg77-vx9v-f49x, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An authenticated attacker could read arbitrary files on the server, potentially exposing sensitive configuration files, user data, and credentials.

What the attacker needed

Authenticated user account

The fix

The issue was fixed in version 10.5.21; users should update or apply the provided patch manually.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Path traversal is a flaw where an attacker can use special sequences like '../' to escape the intended folder and access other files on the server. Here, a logged-in user can trick the import feature into reading files outside the allowed directory, potentially stealing secrets.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More from pimcore/pimcore

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.