Vulnerabilities · 2021 · Pimcore
CVE-2021-23340
Pimcore vulnerability
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
Pimcore. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pimcore runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 · Patch
- snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132 · Exploit
- github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReport · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-23340
- cve.org/CVERecord?id=CVE-2021-23340
More vulnerabilities in Pimcore products
CVE-2026-23496CVE-2026-23495CVE-2026-23494CVE-2026-23493CVE-2026-23492CVE-2025-30166CVE-2025-27617CVE-2025-24980All 153
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.