CVE-2019-16318: Pimcore Unrestricted Upload of File with Dangerous Type
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.05026%
CWE
Published
5/24/2022
Updated
4/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pimcore/pimcore | composer | < 5.7.1 | 5.7.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the absence of filename
length validation
in the correctPath
method before patching. The commit 732f164
explicitly adds a mb_strlen
check in this method to prevent long filenames
, indicating this was the vulnerable entry point. The method handles filename
processing and extension
renaming (.php
to .php.txt
), which failed when filenames
exceeded 255 characters due to filesystem
truncation or validation
bypass.