CVE-2021-23340
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.
How to fix
- pimcore pimcore6.8.8 or later
- pimcore/pimcore6.8.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pimcore pimcore | v < 6.8.8 | 6.8.8 |
| pimcore/pimcorePackagist | v < 6.8.8 | 6.8.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.