This affects the package pimcore/pimcore before 6.8.8. A Local FIle Inclusion vulnerability exists in the downloadCsvAction function of the CustomReportController class (bundles/AdminBundle/Controller/Reports/CustomReportController.php). An authenticated user can reach this function with a GET request at the following endpoint: /admin/reports/custom-report/download-csv?exportFile=&91;filename]. Since exportFile variable is not sanitized, an attacker can exploit a local file inclusion vulnerability.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"range": [
{
"fixed": "6.8.8"
}
],
"source": "CPE_RANGE"
}
],
"vendor_product": "pimcore:pimcore"
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:pimcore:pimcore:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "6.8.8"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1786bdd4962ee51544fad537352c2b4223309442"
}
],
"source": "REFERENCES_COMMIT"
}
]
}