What’s Vulnerable › Vulnerabilities

CVE-2021-23340: Local File Inclusion

Description

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.

Affected products

How to fix

Upgrade to a fixed version: pimcore/pimcore 6.8.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-23340 or the next vulnerability affects your stack