GitHub Advisoryadvisory · Packagist
GHSA-8xv4-jj4h-qww6 Pimcore contains Unrestricted Upload of File with Dangerous Type
MEDIUM
Official page ↗
- Aliases
- CVE-2023-23937
- Ecosystem
- Packagist
- Packages
- pimcore/pimcore
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-434
- Reviewed
- 2023-02-02
Affected packages
• Packagist pimcore/pimcore: < 10.5.16 → fixed in 10.5.16
Description
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
Related
Alias · CVE (1)
- CVE-2023-23937 Pimcore is an Open Source Data & Experience Management Platform: PIM, MDM, CDP, DAM, DXP/CMS & Digital Commerce. vulnerability
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness
References
- https://github.com/pimcore/pimcore/security/advisories/GHSA-8xv4-jj4h-qww6 web
- https://nvd.nist.gov/vuln/detail/CVE-2023-23937 advisory
- https://github.com/pimcore/pimcore/pull/14125 web
- https://github.com/pimcore/pimcore/commit/75a448ef8ac74424cf4e723afeb6d05f9eed872f web
- https://github.com/pimcore/pimcore package
- https://huntr.dev/bounties/aa7ee076-d729-4fcc-9bcc-48bcbb8eac38 web