CVEvulnerability
CVE-2021-23340
7.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-02-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- CVSS 3.1 ([email protected])
- 7.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- CVSS 2.0 ([email protected])
- 5.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:N
- Weaknesses
- CWE-22
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 configurations
• pimcore pimcore (< 6.8.8)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454 Broken Link, Third Party Advisory
- https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132 Exploit, Patch, Third Party Advisory
- https://github.com/pimcore/pimcore/blob/v6.7.2/bundles/AdminBundle/Controller/Reports/CustomReportController.php%23L454 Broken Link, Third Party Advisory
- https://github.com/pimcore/pimcore/commit/1786bdd4962ee51544fad537352c2b4223309442 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-PIMCOREPIMCORE-1070132 Exploit, Patch, Third Party Advisory