Pimcore contains Unrestricted Upload of File with Dangerous Type
Date: 2023-02
Affected: composer/pimcore/pimcore
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2023-23937
CWE: CWE-434
CVSS: 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N)

### Impact The upload functionality for updating user profile does not properly validate the file content-type, allowing any authenticated user to bypass this security check by adding a valid signature (p.e. GIF89) and sending any invalid content-type. This could allow an authenticated attacker to upload HTML files with JS content that will be executed in the context of the domain. ### Patches Update to version 10.5.16 or apply this patch manually https://github.com/pimcore/pimcore/pull/14125.patch


Mitigations:

Architectural layers (MAESTRO):